c programming mcq

December 18, 2017 | Author: ashishpatel_99 | Category: C (Programming Language), Computer Data Storage, Central Processing Unit, Input/Output, Computer Program
Share Embed Donate


Short Description

c programming mcqs with answer can be used in assignments and unit test...

Description

Name of Faculty Course Branch Semester Name of Subject Subject Code UNIT Q-1

Poonam Chakravarty C BTECH 1st PIC 0308101 1

Multiple choice questions. (1 Marker)

1. C99 standard guarantees uniqueness of ____ characters for internal names. (a) 31 (b) 6 (c) 12 (d) 14 2.C99 standard guarantess uniqueness of _____ characters for external names. (a) 31 (b) 12 (c) 14 (d) 6 3. UNIVAC is (a) Universal Automatic Computer (b) Universal Array Computer (c) Unique Automatic Computer (d) Unvalued Automatic Computer 4. IBM 1401 is (a) First Generation Computer (b) Second Generation Computer (c) Third Generation Computer (d) Fourth Generation Computer 5.Which of the following is/are storage class? (a) Atomatic (b) Static (c) Alloacated (d) All of Above 6. Processors of all computers, whether micro, mini or mainframe must have (a) ALU (b) Primary Storage (c) Control Unit (d) All of above 7.What is the control unit's function in the CPU? (a) To transfer data to primary storage (b) (c) to perform logic operations (d)

to store program instruction to decode program instruction

8.What is meant by a dedicated computer? (a) which is used by one person only

(b)

which is assigned to one and only one task

(c)

(d)

which is meant for application software only

which does one kind of software

9.The most common addressing techiniques employed by a CPU is (a) Immediate (b) Direct (c) Indirect (d) All of above 10.Interrupts which are initiated by an instruction are (a) Internal (b) External (c) Hardware (d) Software 11.Which of the following code is used in present day computing was developed by IBM corporation? (a) ASCII (b) Hollerith code (c) Baudot code (d) EBCDIC Code 12.A microprogram written as string of 0's and 1's is a (a) symbolic microinstruction (b) binary microinstruction (c) symbolic microprogram (d) binary microprogram

13. Which of the following function is not performed by computers? (a) Calculate data (b) Compare data (c) Analyze data (d) Outputdata 14.Which of the following is soft output device? (a) Micro phone (b) (c) Projectors (d)

Plotter Card Punchers

15.Identify the direct entry input device: (a) Keyboard (c) OMR

Mouse All of Above

(b) (d)

16. Which of the following unit does encoding? (a) CPU (b) (c) Monitor (d)

Mouse Keyboard

17. The actual execution of instructions takes place in (a) ALU (b) Control unit (c) Memory (d) Output unit 18. The storage unit holds: (a) data to be processed (c) both of above

(b) (d)

intermediate result none of above

19. The fastest and most close storage device to CPU is (a) Flash Memory RAM/ROM (b) (c) Registers Cache (d) 20. After completion of processing, the final results are sent to the _____ before it goes to output device. (a) Monitor Printer (b) (c) Storage ALU (d) 21. Which of the following is not input unit device (a) Microphone OCR (b) (c) Projector Touch Screen (d) 22. The unit that manages and co-ordinates the whole system is (a) Input Unit CPU (b) (c) ALU CU (d) 23. Maximum how long can a Linux filename be?

(a) 128 bytes

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.

Characteristics of Computer System. Classification of computer System. Write Function of Computer Components. What is Difference between RAM and ROM? Explain Computer Generation. What is OOP?Explain it. Listout various Application of Computer System. Explain Block Diagram of Computer System.

Q-4 1. 2. 3. 4.

Drawing/Program. (10 Marker) Describe various Computer language and mention its advantages and Disadvantages. Draw Flowchart to find max no from three different no. Write an algorithm to find out area of Square. Write an algorithm to reverse given number.

View more...

Comments

Copyright ©2017 KUPDF Inc.
SUPPORT KUPDF