Programming for Problem Solving solved MCQs

1 of 5

1. Which Of The Following Are Components Of Central Processing Unit(CPU)?

a. Arithmetic Logic Unit, Mouse

B. Arithmetic Logic Unit, Control Unit

c. Arithmetic Logic Unit, Integrated Circuits

d. Control Unit, Monitor

2. In Which Of The Following Form, Data Is Stored In Computer?

a. Decimal

B. Binary

c. Hexadecimal

d. Octal

3. Which Level Language Is Assembly Language?

a. High-Level Programming Language

B. Medium-Level Programming Language

c. Low-Level Programming Language

d. Machine Language

4. 1 Mega Byte Is Equal To

a. 1024 Bytes

B. 1024 Kilo Bytes

c. 1024 Giga Bits

d. 1024 Bits

5. One Byte Is Equal To How Many Bits ?

a. 4 Bits

B. 8 Bits

c. 12 Bits

d. 16 Bits

6. One Nibble Is Equal To How Many Bits ?

a. 4 Bits

B. 8 Bits

c. 12 Bits

d. 16 Bits

7. An Assembler Is Used To Translate A Program Written In ?

a. Low-Level Language

B. Machine Language

c. Assembly Language

d. High-Level Language

8. We Can Insert Pre Written Code In A C Program By Using

a. #Read

B. #Get

c. #Include

d. #Put

9. Ritchie And Brian Kernighan Jointly Carried Out The Development Of C And That Version Is ________ .

a. ISO C

B. K&R C

c. ANSI C

d. R&K C

10. Who Was Creator Of B Language, Which Inspired Dennis Ritchie ToCreate Strong Procedural Language Called C?

a. Thomas E. Kurtz

B. James Gosling

c. Brian Kernighan

d. Ken Thompson

11. Which Committee Standardize C Programming Language?

a. W3C

B. ANSI

c. ISO

d. TRAI

12. Dennis Was Author Of Famous Programming Book _________ .

a. Thinking In C

B. C Programming For Scientist

c. The C Programming Language

d. C Programming And Techniques

13. Many Features Of C Were Derived From An Earlier Language Called _____.

a. PASCAL

B. BASIC

c. FORTRAN

d. B

14. C Programming Was Created At ______ By Dennis Ritchie.

a. AT&T Bell Laboratory

B. Stanford Lab

c. MIT University

d. Haward University

15. Which Type Of Software Is An Operating System?

a. Utility Software

B. System Software

c. Application Software

d. Firmware Software

16. Microsoft Office Is Type Of?

a. Utility Software

B. System Software

c. Application Software

d. Firmware Software

17. How Many Main() Function We Can Have In Our Project?

a. 1

B. 2

c. No Limit

d. Depends On Compiler

18. Is It Possible To Run Program Without Main() Function?

a. Yes

B. No

c. Option.

d. Option.

19. What Is Sizeof() In C?

a. Operator

B. Function

c. Macro

d. None Of These

20. Bitwise Operators Can Operate Upon?

a. Double And Chars

B. Floats And Doubles

c. Int And Floats

d. Int And Chars

21. What Is C Tokens?

a. The Smallest Individual Units Of C Program

B. The Basic Element Recognized By The Compiler

c. The Largest Individual Units Of Program

d. A & B Both

22. What Is Keywords?

a. Keywords Have Some Predefine Meanings And These Meanings Can Be Changed.

B. Keywords Have Some Unknown Meanings And These Meanings Cannot Be Changed.

c. Keywords Have Some Predefine Meanings And These Meanings Cannot Be Changed.

d. None Of The Above

23. What Is Constant?A Constants Have Fixed Values That Do Not Change During The Execution Of

a. Program

B. Constants Have Fixed Values That Change During The Execution Of A Program

c. Constants Have Unknown Values That May Be Change During The Execution Of A Program

d. Option.

24. Which Is The Right Way To Declare Constant In C?

a. Int Constant Var =10;

B. Int Const Var = 10;

c. Const Int Var = 10;

d. B & C Both

25. Which Operators Are Known As Ternary Operator?

a. ::, ?.

B. ?, :

c. ?, ;;

d. None Of The Above

Tags

Question and answers in Programming for Problem Solving,

Programming for Problem Solving Multiple choice questions and answers,

Important MCQ of Programming for Problem Solving,

Solved MCQs for Programming for Problem Solving,

Programming for Problem Solving MCQ with answers PDF download

Topic wise solved MCQ's
Jump to set ->

Each set has max 25 mcqs

Check your understanding of
Programming for Problem Solving

Programming for Problem Solving [set-1] solved mcqs PDF download

Share