C Programming MCQ
C Programming MCQ
Course
Branch
Semester
Name of Subject
Subject Code
UNIT
Q-1
Poonam Chakravarty
C
BTECH
1st
PIC
0308101
1
(b)
(c)
(d)
Plotter
Card Punchers
Mouse
All of Above
(b)
(d)
Mouse
Keyboard
(b)
(d)
intermediate result
none of above
255 bytes
(b)
(c) 32 bytes
64 bytes
(d)
24. Which combination of keys is used to exit from terminal?
(a) Ctrl+T
Ctrl+Z
(b)
(c) Ctrl+D
Ctrl+E
(d)
25. Which of the following OS is not based on Linux?
(a) Ubuntu
Redhat
(b)
(c) BSD
CentOS
(d)
26. Which command is used to get the kernel version in Linux?
(a) Uname-r
Kernel
(b)
(c) Uname-n
Uname-s
(d)
27. Which of the following command is used to create file in Linux?
(a) Touch
Cat
(b)
(c) Echo
All of above
(d)
28. In Linux everything stored as a
(a) File
Directory
(b)
(c) Exicutable
None of above
(d)
29. Which command is used to copy entire directory?
(a) cp-r
cp-i
(b)
(c) Cp
None of these
(d)
30. Total no of run levels in a Linux system?
(a) 6
7
(b)
(c) 5
8
(d)
Q-2
1.
2.
3.
4.
5.
6.
7.
Drawing/Program. (3 Marker)
What is ain Function of CPU?
What is RAM and ROM?
What is input and output?
Give Examples of Operating System.
What is Compiler?
What is Linker?
What is Software?Explain.
Q-3
1.
Drawing/Program. (5 Marker)
Draw block Diagram of Computer.
2.
3.
4.
5.
6.
7.
8.
9.
Q-4
1.
2.
3.
4.