Programming For Problem Solving Set 1

On This Page

This set of Programming for Problem Solving Multiple Choice Questions & Answers (MCQs) focuses on Programming For Problem Solving Set 1

Q1 | Which Of The Following Are Components Of Central Processing Unit(CPU)?
  • Arithmetic Logic Unit, Mouse
  • Arithmetic Logic Unit, Control Unit
  • Arithmetic Logic Unit, Integrated Circuits
  • Control Unit, Monitor
Q2 | In Which Of The Following Form, Data Is Stored In Computer?
  • Decimal
  • Binary
  • Hexadecimal
  • Octal
Q3 | Which Level Language Is Assembly Language?
  • High-Level Programming Language
  • Medium-Level Programming Language
  • Low-Level Programming Language
  • Machine Language
Q4 | 1 Mega Byte Is Equal To
  • 1024 Bytes
  • 1024 Kilo Bytes
  • 1024 Giga Bits
  • 1024 Bits
Q5 | One Byte Is Equal To How Many Bits ?
  • 4 Bits
  • 8 Bits
  • 12 Bits
  • 16 Bits
Q6 | One Nibble Is Equal To How Many Bits ?
  • 4 Bits
  • 8 Bits
  • 12 Bits
  • 16 Bits
Q7 | An Assembler Is Used To Translate A Program Written In ?
  • Low-Level Language
  • Machine Language
  • Assembly Language
  • High-Level Language
Q8 | We Can Insert Pre Written Code In A C Program By Using
  • #Read
  • #Get
  • #Include
  • #Put
Q9 | Ritchie And Brian Kernighan Jointly Carried Out The Development Of C And That Version Is ________ .
  • ISO C
  • K&R C
  • ANSI C
  • R&K C
Q10 | Who Was Creator Of B Language, Which Inspired Dennis Ritchie ToCreate Strong Procedural Language Called C?
  • Thomas E. Kurtz
  • James Gosling
  • Brian Kernighan
  • Ken Thompson
Q11 | Which Committee Standardize C Programming Language?
  • W3C
  • ANSI
  • ISO
  • TRAI
Q12 | Dennis Was Author Of Famous Programming Book _________ .
  • Thinking In C
  • C Programming For Scientist
  • The C Programming Language
  • C Programming And Techniques
Q13 | Many Features Of C Were Derived From An Earlier Language Called _____.
  • PASCAL
  • BASIC
  • FORTRAN
  • B
Q14 | C Programming Was Created At ______ By Dennis Ritchie.
  • AT&T Bell Laboratory
  • Stanford Lab
  • MIT University
  • Haward University
Q15 | Which Type Of Software Is An Operating System?
  • Utility Software
  • System Software
  • Application Software
  • Firmware Software
Q16 | Microsoft Office Is Type Of?
  • Utility Software
  • System Software
  • Application Software
  • Firmware Software
Q17 | How Many Main() Function We Can Have In Our Project?
  • 1
  • 2
  • No Limit
  • Depends On Compiler
Q18 | Is It Possible To Run Program Without Main() Function?
  • Yes
  • No
  • Option.
  • Option.
Q19 | What Is Sizeof() In C?
  • Operator
  • Function
  • Macro
  • None Of These
Q20 | Bitwise Operators Can Operate Upon?
  • Double And Chars
  • Floats And Doubles
  • Int And Floats
  • Int And Chars
Q21 | What Is C Tokens?
  • The Smallest Individual Units Of C Program
  • The Basic Element Recognized By The Compiler
  • The Largest Individual Units Of Program
  • A & B Both
Q22 | What Is Keywords?
  • Keywords Have Some Predefine Meanings And These Meanings Can Be Changed.
  • Keywords Have Some Unknown Meanings And These Meanings Cannot Be Changed.
  • Keywords Have Some Predefine Meanings And These Meanings Cannot Be Changed.
  • None Of The Above
Q23 | What Is Constant?A Constants Have Fixed Values That Do Not Change During The Execution Of
  • Program
  • Constants Have Fixed Values That Change During The Execution Of A Program
  • Constants Have Unknown Values That May Be Change During The Execution Of A Program
  • Option.
Q24 | Which Is The Right Way To Declare Constant In C?
  • Int Constant Var =10;
  • Int Const Var = 10;
  • Const Int Var = 10;
  • B & C Both
Q25 | Which Operators Are Known As Ternary Operator?
  • ::, ?.
  • ?, :
  • ?, ;;
  • None Of The Above