Sie sind auf Seite 1von 1

COMPUTER SCIENCE TEST

Chapter 1 Part: Second


Q. 1: MCQS
1. A collection of raw facts and figures is called.
(a) data (b) information (c) processing (d) file
2. C was developed in the year.
(a) 1970 (b) 1972 (c) 1976 (d) 1985
3. Which of the following format specified is used for integer data type.
(a) %s (b) %c (c) %f (d) %d
4. C statement and with a
(a) period (b) commas (c) semi colons (d) question mark
5. Scanf is an _________ function.
(a) data (b) information (c) input (d) output
6. Which of the following is not valid variable name?
(a) a 123 (b) My name (c) int (d) Both a and b
7. How many types of errors can occur while writing a program.
(a) 2 (b) 3 (c) 4 (d) 6
8. An IDE typically consists of:
(a) text editor (b) compiler (c) debuger (d) all of these
9. Formate specified is started with symbol:
(a) ? (b) % (c) & (d) None of these
10. The functions getche ( ) is defined in
(a) studio.h (b) sting.h (c) math.h (d) conio.h

Q. 2: Short question
1. What is turbo C++?
2. What is Assembler?
3. Difference between source code & Object code?
4. What is Compiler?
5. Trace the output. { print f (*/nAli/nAhmad);
}
Q. 3: What is bug? Discuss different types of bugs that occurs in a C program?

Das könnte Ihnen auch gefallen