You are on page 1of 1

Educational ZONE

Test No.01
Name Subject Computer Science
Class Inter Part-II Chapter: Basics of C Total Marks: 50
Date 22/07/2020 Time: 1:30 Obtained Marks:
Q1. Circle the correct answer. (1x10=10)
1. Which one is a delimiter in C:
() {} [] None
2. The earlier version of C was known as:
K&P K&T K&R K&C
3. If there is a grammar rule mistake then what type of error it is?
Syntax Runtime Logical None
4. If a program directs the program to perform illegal operations then what type of error occurs?
Syntax Runtime Logical None
5. When a program follows a wrong/ faulty algorithm then what error occurs?
Syntax Runtime Logical None
6. Every statement in C ends with:
, : ? ;
7. The definition of the main function starts with a reserved word:
Void Include Function Int
8. To find and remove errors in C program is called:
Bug Debugging Delimiters Error detection
9. Printf statement is used for:
Input Output Both I/O None
10. Which are pre-processor directives:
Include Define First and second None
Q.2 Write short answers of the following questions. (12x2=24)
What do you mean by linking?How can we include a pre-processor directive? Give example Write syntax of
main function? What is syntax error? Give example What is logical error?What is statement terminator in
C?What is a function?What do you mean by term “debugging”? What do you know about bug in C?If there
is a syntax error in program can it be executed?If there is logical error in a program can this program be
executed?What are different types of errors in C. What is compiling? What do you mean by linking?Define
loading who developed the C language? Enlist three differences between high level language and machine
language?Describe” Machine Independence” What is a compilerWhy compiling is necessaryWhere from C
language is derived?What do you know about “IDE”.

Q.3 Attempt any two of the following long questions. (8x2=16)


 Write a note on common program errors in C.
 Write a note on basic structure of a C program.
 How to develop a C program, write down its stepwise approach.

You might also like