Skip to ContentGo to accessibility pageKeyboard shortcuts menu
OpenStax Logo

Review Questions

1 .
Which HLL was developed first?
  1. COBOL
  2. C
  3. Java
  4. Fortran
2 .
What is the term used to describe the most accepted style and structure of code that can be used to ensure proper software development?
  1. paradigm
  2. best practice
  3. model
  4. abstraction
3 .
Which abbreviation refers to a library shipped with the language which contains objects and useful functions for the tasks for which the language is purposed?
  1. UX
  2. GUI
  3. API
  4. UI
4 .
Why are various HLLs related to each other and/or part of the same history?
5 .
What is event-driven programming?
6 .
What are the names of some different programming paradigms?
7 .
What is the difference between a compiled and an interpreted HLL?
8 .
What are the typical constituent parts of an HLL development environment or IDE?
9 .
What is weak typing? What is strong typing? What is the difference between them?
10 .
What are the equivalents of dynamic and static typing?
11 .
What is an example of a data type that is always primitive?
  1. string
  2. array
  3. number
  4. object
12 .
What best defines a function interface?
  1. parameter
  2. return
  3. code block
  4. signature
13 .
What type of operator has only a single operand?
  1. logical
  2. relational
  3. unary
  4. Boolean
14 .
What is “short circuiting” in the context of HLL expressions evaluation?
15 .
What is the difference between variable passing by value versus passing by references?
16 .
What is the difference between integer data types and floating-point data types?
17 .
What are composite types?
18 .
What is the difference between subroutines and modules?
19 .
What term represents a feature in OOP?
  1. synchronization
  2. polymorphism
  3. mutual exclusion
  4. Parallelism
20 .
What is the term for a process used to return memory that is no longer needed?
  1. instantiation
  2. polymorphism
  3. starvation
  4. garbage collection
21 .
What is a high-order function in a functional HLL?
22 .
What is typically the last statement of a recursive function?
23 .
Give the definition of a thread.
24 .
Explain encapsulation, inheritance, and polymorphism in object-oriented HLLs.
25 .
What is the difference between concurrency and parallelism?
26 .
Explain mechanisms that may be used to enable synchronization in concurrent programming.
27 .
What types of problems are best solved by scripting HLLs?
28 .
What is the name for software that scans and translates the source code one line at a time?
  1. interpreter
  2. compiler
  3. assembler
  4. linker
29 .
The middle end stage of compilation is responsible for what task?
  1. lexical analysis
  2. optimization
  3. code generation
  4. assembly
30 .
Software that provides a complete program execution environment is the reproduction of which computer architecture?
  1. dynamic linker
  2. parser
  3. virtual machine
  4. static linker
31 .
What is the difference between the front end, middle end, and back end compiler phases?
32 .
Explain the different phases of compilation.
33 .
What is the difference between static and dynamic linking?
34 .
Explain late binding.
35 .
Explain the different phases of code improvement.
36 .
Why is there such a focus on loops improvement as part of code optimization?
Citation/Attribution

This book may not be used in the training of large language models or otherwise be ingested into large language models or generative AI offerings without OpenStax's permission.

Want to cite, share, or modify this book? This book uses the Creative Commons Attribution License and you must attribute OpenStax.

Attribution information
  • If you are redistributing all or part of this book in a print format, then you must include on every physical page the following attribution:
    Access for free at https://openstax.org/books/introduction-computer-science/pages/1-introduction
  • If you are redistributing all or part of this book in a digital format, then you must include on every digital page view the following attribution:
    Access for free at https://openstax.org/books/introduction-computer-science/pages/1-introduction
Citation information

© Oct 29, 2024 OpenStax. Textbook content produced by OpenStax is licensed under a Creative Commons Attribution License . The OpenStax name, OpenStax logo, OpenStax book covers, OpenStax CNX name, and OpenStax CNX logo are not subject to the Creative Commons license and may not be reproduced without the prior and express written consent of Rice University.