Great for a web based service where the user uploads the file and the program returns a PDF of the file. For added complexity, impose a time limit or a turn limit. Keep a limit to how far the program will go. Make a game where the user controls to mini paddles and keeps a ball in play, bouncing off various items and navigating through the course for various points.
Make a program that will add this watermark to the picture. They then take turns firing at one another by guessing one of the board squares. The user plays against a dealer who has to sit on any value 17 or under. See if you can dominate the kingdom. Allow each player is given two cards face down which they must match against 5 community cards.
Trivial Cases We learned numbers are prime if the only divisors they have are 1 and itself. Try to make it playable online and if you can use a graphical user interface that can also undo or redo a step as well as keep a history of moves for replay. I have not included many Software design-related programming question which I have shared on Top 20 software design questions and answers ; you can also check that.
It's difficult to add and remove elements in an array because you need to shift existing elements but that is very easy with a linked list, as you just need to change the pointer to accommodate them.
It's written by an ex-Googler and it is one of the most comprehensive course to revise all important data structures like an array, linked list, binary tree etc.
Perhaps let people look up which songs you have listened to lately.
The goal here is speed so let the user quickly write in an idea and drag it around in a visual map to show relationships. It can allow comments or not and timestamps all entries. These programming questions are sometimes based on problems faced by the developer itself. But, nothing is free in this world.
There are various clocks across the world. Couple of reasons which I think make sense is an implementation of String pool, Security, and Performance.
To make a simple one use some standard pictures and then for added complexity try a 3D object that spins around the screen and bounces off the sides. Add, subtract and multiple matrices.
To check if a number is a factor of the given number hereafter referred to as nwe obtain the remainder on dividing n by the number. Programming questions like reversing String using recursion or How to find if Array contains duplicates are some popular examples of programming question in Java.
Let them continue to guess until they get the right answer. To determine whether a given number is prime, we need to check if it has factors others than one and itself. For added complexity see if you can also build in emailing functionality.
The goal is to eat as much food that appears on the board as possible without it running into its own body.
Here is a list of book, which I personally prefer, in the order, I like them. For added complexity, create your own protocol to facilitate this chatting.
Print out the tree to the screen. Based on the old arcade game.In this post, we will write two java programs, first java programs checks whether the specified number is positive or negative.
The second program takes the input number (entered by user) and checks whether it is positive or negative and displays the result. This program segment calculates the sum of integer numbers from 1 to n.
Initially, the value of n is read from the keyboard and variable sum is initialized to zero. The Sieve of Eratosthenes is a simple algorithm that finds the prime numbers up to a given integer. Task. Implement the Sieve of Eratosthenes algorithm, with the only allowed optimization that the outer loop can stop at the square root of the limit, and the inner loop may start at the square of the prime.
Prime Number program in C. Prime number in C: Prime number is a number that is greater than 1 and divided by 1 or itself. In other words, prime numbers can't be divided by other numbers than itself or 1. For example 2, 3, 5, 7, 11, 13, 17, 19, are the prime numbers.
Yes, the above program is not correct. To print prime numbers, the logic mentioned here is not correct. Please see correct logic to print all prime numbers till the input upperbase number.
Jun 10, · Top 30 Programming interview questions Programming questions are an integral part of any Java or C++ programmer or software analyst interview. No matter on which language you have expertise it’s expected that you are familiar with fundamental of programming and can solve problems without taking help of API.Download