High & Low Level Languages

Computer Science Master

Question 1. Which of the following is NOT a typical characteristic of high-level programming languages?

□ A. Use of natural language-like syntax

□ B. Direct control over hardware registers

□ C. Automatic memory management

□ D. Platform independence

Question 2. Why are low-level programming languages often preferred for performance-critical applications?

□ A. Because they have rich standard libraries

□ B. Because they provide direct hardware control and are efficient in speed and memory usage

□ C. Because they are easier to read and write

□ D. Because they manage memory automatically

Question 3. Which of the following is an example of a high-level programming language?

□ A. Assembly language □ B. C++ □ C. Machine code □ D. Binary code

Question 4. One limitation of high-level programming languages is:

□ A. They are less readable than low-level languages

□ B. They have slower execution speed compared to low-level languages

□ C. They require manual memory management

□ D. They are closely tied to a specific CPU architecture

Question 5. Which feature is typical for low-level languages but generally absent in high-level languages?

□ A. Rich standard libraries

□ B. Platform independence

□ C. Manual memory management

□ D. Natural language syntax

Question 6. Fill in the blank(s)

High-level programming languages abstract away many _____________________________________, allowing programmers to focus on solving problems.

Question 7. Fill in the blank(s)

Low-level programming languages provide _____________________ over the CPU and memory.

Question 8. Fill in the blank(s)

Examples of high-level languages include Python, JavaScript, Ruby, and ____.

Question 9. Fill in the blank(s)

A limitation of high-level languages is lower ______________________ compared to low-level languages.

Question 10. Fill in the blank(s)

Manual memory management is a feature commonly associated with _____________ languages.

Question 11. What is one key advantage of high-level programming languages in terms of code readability?

Question 12. Name one reason why low-level languages are less portable than high-level languages.

Question 13. What role does automatic memory management play in high-level languages?

Question 14. What is a potential downside of the abstraction provided by high-level languages?

Question 15. Give an example of a low-level programming language mentioned in the content.

Question 16. Explain how the abstraction level of high-level programming languages affects developer productivity and program performance.

Question 17. Describe the trade-offs between using low-level languages versus high-level languages for software development.

Question 18. Explain why automatic memory management is beneficial in high-level languages but may be a limitation with regard to resource usage.

High & Low Level Languages

Answer Sheet

Question 1. Which of the following is NOT a typical characteristic of high-level programming languages?

A. Use of natural language-like syntax

□ B. Direct control over hardware registers

C. Automatic memory management

D. Platform independence

Question 2. Why are low-level programming languages often preferred for performance-critical applications?

A. Because they have rich standard libraries

□ B. Because they provide direct hardware control and are efficient in speed and memory usage

C. Because they are easier to read and write

D. Because they manage memory automatically

Question 3. Which of the following is an example of a high-level programming language?

A. Assembly language □ B. C++ C. Machine code D. Binary code

Question 4. One limitation of high-level programming languages is:

A. They are less readable than low-level languages

□ B. They have slower execution speed compared to low-level languages

C. They require manual memory management

D. They are closely tied to a specific CPU architecture

Question 5. Which feature is typical for low-level languages but generally absent in high-level languages?

A. Rich standard libraries

B. Platform independence

□ C. Manual memory management

D. Natural language syntax

Question 6. Fill in the blank(s)

High-level programming languages abstract away many [[hardware-specific details]], allowing programmers to focus on solving problems.

Question 7. Fill in the blank(s)

Low-level programming languages provide [[direct control]] over the CPU and memory.

Question 8. Fill in the blank(s)

Examples of high-level languages include Python, JavaScript, Ruby, and [[C++]].

Question 9. Fill in the blank(s)

A limitation of high-level languages is lower [[execution speed]] compared to low-level languages.

Question 10. Fill in the blank(s)

Manual memory management is a feature commonly associated with [[low-level]] languages.

Question 11. What is one key advantage of high-level programming languages in terms of code readability?

They use natural language-like syntax which makes code easier to read and understand.

Question 12. Name one reason why low-level languages are less portable than high-level languages.

Because they are closely tied to specific CPU architectures or hardware platforms.

Question 13. What role does automatic memory management play in high-level languages?

It simplifies memory allocation and deallocation, reducing the risk of memory-related errors.

Question 14. What is a potential downside of the abstraction provided by high-level languages?

Developers have limited control over system resources such as memory and hardware registers.

Question 15. Give an example of a low-level programming language mentioned in the content.

Assembly language.

Question 16. Explain how the abstraction level of high-level programming languages affects developer productivity and program performance.

Question 17. Describe the trade-offs between using low-level languages versus high-level languages for software development.

Question 18. Explain why automatic memory management is beneficial in high-level languages but may be a limitation with regard to resource usage.