0% found this document useful (0 votes)
18 views2 pages

C - Internal 1

Uploaded by

Shbm
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views2 pages

C - Internal 1

Uploaded by

Shbm
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Department of Computer Science

B.Sc. – I Year, I Semester Internal Assessment – I


September – 2024
Name: _____________________________ Roll No. _____________________________
Subject: Programming in C Group: __________________Max. Marks: 20

I) Multiple choice questions: (10 X 1 = 10)


1. What is the size of an int data type? [ ]
a) 4 Bytes b) 8 Bytes c) 2 Bytes d) 1 Bytes

2. Which of the following is not a valid variable name declaration? [ ]


a) int _a3; b) int a_3; c) int 3_a; d) int _3a

3. Who is the father of c language? [ ]


a) Ken Thomson b) W.kernigham c)Dennis Ritchie d) Martin Richards

4. Every C program should compulsorily have a function called as [ ]


a) start() b) main() c) Main() d) Exit()

5. The format specification is used to read or to write a integer variable. [ ]


a) %c b) %ld c) %d d) %f

6. Which of the following function is used to send the output to the console? [ ]
a) scanf() b) getch() c) printf() d) clrscr()

7. Translator for low level programming language is termed as. [ ]


a) Assembler b) Compiler c) Linker d) Loader

8. Which type of statement helps to jump from one part of the program to another
depending on whether a particular condition is satisfied or not? [ ]
a) Conditional branching b) loops c) Iterative d) none of these

9. Every statement in C program is to be terminated by a [ ]


a) dot(.) b) Semi-colon (;) c) colon(:) d) Question mark(?)

10. ALU stands for? [ ]


a) Arithmetic Logic Unit (b) Application Logic Unit c) Array Logic Unit d) None
II) Fill in the blanks: (5 X 1 = 5)
1. Increment and decrement operators also called as _________________
2. Constants in C refer to _________________________
3. What is the size of a character data type in C _______________
4. Else statement execute when ______________________
5. Find the output of the following C statement:
printf(“%d”, !5 > -2);

III) Single Answer Questions: (5 X 1 = 5)


1. What is a compiler?

2. What is keyword in C?

3. What is a variable?

4. What is an Algorithm and program?

5. Write down Non-formatted and Formatted Input and Output Functions?

You might also like