SAMPLE QUESTIONS – PROGRAMMING
Fill in the blanks:
1.Memory used by a variable of type short int is ___________ bytes.
2.__________has the highest precedence above all operators.
1.Write a program to find if an input character is a digit ,a lower case character, an upper case character or a special character.
90 people applied for a job as a salesperson for a book publishing company. 10 of the applicants had never worked in sales or in publishing business. 65 had worked in sales at some point and 58 had some background in publishing.How many of the applicants had experience in both sales and publishing ?
If one worker can complete a job in 6 days and a second worker can complete the same job in 12 days, how long will it take if both work together ?
Ram and Shyam went to purchase a book from a bookshop. Unfortunately,neither of them had enough money, though both had some money . Ram realized he was Rs 2 short of the price of the book, while Shyam was Rs 24 short of the price. When they put their money together , even then they did not have enough money to buy the book. What was the price of the book ?
A train passes a station in 36 s and a man standing on the platform in 20 s. If the speed of the train is 15 meters/sec the length of the platform is ———-.
If x is 80% of y, then what percent of 2x is y ?