C++ & Java Lanugage Basic MCQ-technicalhassanali

1. A program is a set of_________ 
  • Languages 
  • Tasks 
  • Instructions 
  • Problems
2. A program must be written in Some programming languages for________
  • Solution 
  • Execution 
  • resolution 
  • declaration
3. Computer has no_____ .
  • Hardware 
  • Software 
  • IQ 
  • Hard disk 
4. For every single task we have to _______ Computer
  • Build 
  • Teach 
  • instruct 
  • Construct
5. Computer has ______levels of languages.
  • 2
  • 3
  • 4



6. These are Language:
  • Low-level language 
  • Middle-level language 
  • High-level language 
  • all of these
7. Low level languages is a _________level language
  • Human 
  • machine 
  • other
  • both
8. In low-level language instruction given to the computers in the form of:
  • Decimal 
  • octal 
  •  binary 
  • Hexadecimal 
9. This type of low level language is so_________
  • Easy 
  • normal 
  • difficult 
  • none
10. Error finding in the low-level language is also very:
  • Normal 
  • complicated 
  • easy 
  • all of these
11. In middle-level languages instructions are given in:
  • Numbers 
  • English words & symbols
  • different languages
  • none
12. Middle level language is easy to ________&________:
  • Implement & Execute 
  • write & understand
  • both 
  •  only a
13. Translator used here is
  • Assembler
  • interpreter 
  • both 
  • none
14. If we write a program in the middle-level language, then we need to_______for further use
  • Translate 
  • finish 
  • destroys 
  • none
15. Assembly level language store data in
  • Unit 
  • computer register 
  • other 
  • none
16. Register is different in different
  • Units 
  • computers
  • both 
  • none
17. Due to the above statement program is not_____
  • Easy 
  • difficult 
  • portable 
  • all of these
18. High level languages are good for_______
  • Humans 
  • computers 
  • both 
  • none
19. High-level languages are not directly understandable by the:
  • Humans 
  • Computers 
  • both 
  • none
20. These High-Level languages are
  • Independent 
  • dependent
  • both 
  •  none 
21. Which of these are high-level Language/languages:
  • C++ 
  •  Java 
  •  Fortran 
  •  all of these
22. Translator is a________
  • Hardware 
  • software 
  • both 
  • none
23. Translator is used to translate
  • low-level language to high-level language
  • high-level language to low-level language
  • both a & b
  • none
24. Types of translators are:
  • 4
25. Which of the following is not the type of translator
  • Compiler 
  • Converter 
  • interpreter 
  • assembler
26. Compiler is used to convert the program from 
  • Low level to high-level 
  • High level to low level 
  • Both 
  • None 
27. The program which is written in a high-level language is known as:
  • Object program
  • source program
  • both 
  • none
28. The corresponding machine level language program is called:
  • Object program 
  • source program 
  •  a & b 
  • none
29. Compiler read the program
  • line by line 
  • At a time 
  • normally 
  • none
30. Interpreter reads: 
  • Only a line 
  • at once 
  • next to 
  • after that

Post a Comment

Post a Comment (0)

Previous Post Next Post