Professional Documents
Culture Documents
1. 8. Surgeons can perform delicate operations by manipulating devices through computers instead of manually. This technology is known as: A. robotics. B. computer forensics. C. simulation. D. forecasting. Answer: A
2. be:
3. ____________ is the study of molecules and structures whose size ranges from 1 to 100 nanometers. A. Nanoscience B. Microelectrodes C. Computer forensics D. Artificial intelligence Answer: A
4. ____________ is the science that attempts to produce machines that display the same type of intelligence that humans do. A. Nanoscience B. Nanotechnology C. Simulation D. Artificial intelligence (AI) Answer: D
5.
6.
The name for the way that computers manipulate data into information is called:
7.
Computers gather data, which means that they allow users to ____________ data.
D. store Answer: B
8. After a picture has been taken with a digital camera and processed appropriately, the actual print of the picture is considered: A. data. B. output. C. input. D. the process. Answer: B
9.
10.
11. In the binary language each letter of the alphabet, each number and each special character is made up of a unique combination of: A. eight bytes. B. eight kilobytes. C. eight characters. D. eight bits. Answer: D
12.
13.
14.
D. megabyte Answer: C
15.
Section#2 (A correct answer carries 1 mark 1/4 marks will be deducted for a wrong answer.)
1.
1 : extern int fun(); 2 : int fun(); A. Both are identical B. No difference, except extern int fun(); is probably in another file C. int fun(); is overrided with extern int fun(); D. None of these
2.
#include<stdio.h> struct emp { char name[20]; int age; }; int main() { emp int xx; int a; printf("%d\n", &a); return 0; }
4.We want to round off x, a float, to an int value, The correct way to do is A. y = (int)(x + 0.5) B. y = int(x + 0.5) C. y = (int)x + 0.5
D. y = (int)((int)x + 0.5)
5.
6. A float occupies 4 bytes. If the hexadecimal equivalent of these 4 bytes are A, B, C and D, then when this float is stored in memory in which of the following order do these bytes gets stored? A. ABCD B. DCBA C. 0xABCD D. Depends on big endian or little endian architecture
7.
A. Infinite times
8.
#include<stdio.h> gets replaced by the contents of the file stdio.h A. During editing B. During linking C. During execution D. During pre-processing
9.
If the file to be included doesn't exist, the preprocessor flashes an error message. B. False
A. True
10.
11.
12.
The keyword used to transfer control from a function back to the calling function is
13. In a file contains the line "I am a boy\r\n" then on reading this line into the array str using fgets(). What will str contain? A. "I am a boy\r\n\0" B. "I am a boy\r\0" C. "I am a boy\n\0" D. "I am a boy"
14. Which of the following operations can be performed on the file "NOTES.TXT" using the below code? FILE *fp; fp = fopen("NOTES.TXT", "r+");
15.
What is the purpose of "rb" in fopen() function used below in the code?
A. open "source.txt" in binary mode for reading B. open "source.txt" in binary mode for reading and writing C. Create a new file "source.txt" for reading and writing D. None of above
Section#3 (A correct answer carries 2 marks 1 mark will be deducted for a wrong answer.)
1.
A. char p = *malloc(100); B. char *p = (char) malloc(100); C. char *p = (char*)malloc(100); D. char *p = (char *)(malloc*)(100);
2.
A. 30 B. 27 C. 9 D. 3
3.
Point out the compile time error in the program given below.
#include<stdio.h>
4.
Which of the following statements correct about k used in the below statement?
char ****k; A. k is a pointer to a pointer to a pointer to a char B. k is a pointer to a pointer to a pointer to a pointer to a char C. k is a pointer to a char pointer D. k is a pointer to a pointer to a char
5.
A. All of them let you define new values B. All of them let you define new data types C. All of them let you define new pointers D. All of them let you define new structures
6.
#include<stdio.h> int main() { enum days {MON=-1, TUE, WED=6, THU, FRI, SAT}; printf("%d, %d, %d, %d, %d, %d\n", MON, TUE, WED, THU, FRI, SAT); return 0; }
7.
A. new Inner(); //At line 5 B. new Inner(); //At line 10 C. new ot.Inner(); //At line 10 D. new Outer.Inner(); //At line 10ct data
8.
maruti.engine.bolts=25; A. Structure bolts is nested within structure engine. B. Structure engine is nested within structure maruti. C. Structure maruti is nested within structure engine. D. Structure maruti is nested within structure bolts.
9. {
A. Compilation fails. B. "odd" will always be output. C. "even" will always be output. D. "odd" will be output for odd values of x, and "even" for even values
10. {
public void someOuterMethod() { //Line 5 } public class Inner { } public static void main(String[] argv) { Outer ot = new Outer();
//Line 10 } }
A. new Inner(); //At line 5 B. new Inner(); //At line 10 C. new ot.Inner(); //At line 10 D. new Outer.Inner(); //At line 10
Section#4 (A correct answer carries 2 marks 1/4 mark will be deducted for a wrong answer.)
1. What was the day of the week on 17th June, 1998? A. Monday C. Wednesday B. Tuesday D. Thursday
Directions 2-6: Each problem consists of a problem followed by two statements. Decide whether the data in the statements are sufficient to answer the question. Select your answer according to whether: (A) statement 1 alone is sufficient, but statement 2 alone is not sufficient to answer the question (B) statement 2 alone is sufficient, but statement 1 alone is not sufficient to answer the question (C) both statements taken together are sufficient to answer the question, but neither statement alone is sufficient (D) each statement alone is sufficient
(E) statements 1 and 2 together are not sufficient, and additional data is needed to answer the question
2. How many ewes (female sheep) in a flock of 50 sheep are black? There are 10 rams (male sheep) in the flock. Forty percent of the animals are black. A B C D E3. Is the length of a side of equilateral triangle E less than the length of a side of square F? The perimeter of E and the perimeter of F are equal. The ratio of the height of triangle E to the diagonal of square F is 23 : 32. A B C D E 4. If a and b are both positive, what percent of b is a? a = 3/11 b/a = 20 A B C D E
5. A wheel of radius 2 meters is turning at a constant speed. How many revolutions does it make in time T? T = 20 minutes. The speed at which a point on the circumference of the wheel is moving is 3 meters per minute. A B C D E 6. Are the integers x, y and z consecutive? The arithmetic mean (average) of x, y and z is y. y-x = z-y A B C D E 7. Manish goes 7 km towards South-East from his house, then he goes 14 km turning to West. After this he goes 7 km towards North West and in the end he goes 9 km towards East. How far is he from his house? A) 14 km B) 7 km C) 2 km D) 5 km E) None of these
8. Nivedita stops after going 10 km towards west from her office. Then she goes 8 km turning to her left. After this she goes 4 km turning to her left. How far is she from her office? A) 18 km B) 8 km C) 16 km D) 14 km E) None of these 9. Ranju is at a fixed point, from where she goes 20 metres towards West. From there she goes 10 metres towards Notrh. Then she goes 35 metres towards East and after this she goes 5 metres towards South and in the end she goes 15 metres towards West. How far is she from the fixed point? A) 5 km B) 0 km C) 10 km D) Can not be determined E) None of these
10. A man walks 15m towards South from a fixed point. From there he goes 12 m towards North and then 4 m towards West. How far and in what direction is he from the fixed point? A) 3 m, South B) 7 m, South-West C) 5 m, South-West D) 5 m, South-East E) None of these
11. Ranjan goes 5 km towards North from a fixed point. Then he goes 3 km after turning to his right. After this he goes 5 km turning to his right. In the end he goes 4 km after turning to his left. How far and in what direction is he now from the fixed point?
A) 4 km, West B) 7 km, East C) 9 km, East D) 7 km, West E) None of these
12. There are 20 balls of green color,20 balls of red color,20 balls of blue color,20 of balck,20 of yellow. how many u have to pick to guarantee 2pairs of same color?
13. 8 litres are drawn from a cask full of wine and is then filled with water. This operation is performed three more times. The ratio of the quantity of wine now left in cask to that of water is 16 : 81. How much wine did the cask hold originally? A. 18 litres C. 32 litres B. 24 litres D. 42 litres
14. In how many ways a committee, consisting of 5 men and 6 women can be formed from 8 men and 10 women? A. 266 C. 11760 B. 5040 D. 86400
15.A man buys Rs. 20 shares paying 9% dividend. The man wants to have an interest of 12% on his money. The market value of each share is: A. Rs. 12 C. Rs. 18 B. Rs. 15 D. Rs. 21
E. None of these
16. If m and n are whole numbers such that mn = 121, the value of (m - 1)n + 1 is: A. 1 B. 10
C. 121
D. 1000
17. The least perfect square, which is divisible by each of 21, 36 and 66 is: A. 213444 C. 214434 B. 214344 D. 231444
18. A clock is started at noon. By 10 minutes past 5, the hour hand has turned through: A. 145 C. 155 B. 150 D. 160
19. A person deposits 1/16 of his income as Provident Fund and 1/15 of the remaining as insurance premium. If he spends 5/7 of the balance on domestic needs and deposits an amount of Rs. 50 in the bank, his total income would be
a) 150
b) 200
c) 250
d) 300
20. A traveller makes 3/4 of his journey by train and 2/3 of the rest by car. If he walks the remaining 12 Kms, the total distance traveled by him is
a) 124 Kms
b) 134 Kms
c) 144 Kms
d) 244 Kms