100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

Empower Your Learning with the [Programming Languages Principles and Practices Advanced Topics,Louden,3e] 2024 Test Bank

Rating
-
Sold
-
Pages
131
Grade
A+
Uploaded on
30-07-2023
Written in
2022/2023

Want to pass your class with ease? The Test Bank for [Programming Languages Principles and Practices Advanced Topics,Louden,3e] is your answer. Featuring practice exam questions and the official exams and answers, is your year to shine.

Show more Read less
Institution
Course











Whoops! We can’t load your doc right now. Try again or contact support.

Connected book

Written for

Institution
Course

Document information

Uploaded on
July 30, 2023
Number of pages
131
Written in
2022/2023
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

Chapter 1: Introduction




TRUE/FALSE



1. Before the middle of the 1940s, computer operators hardwired their programs by setting switches
that adjusted the internal wiring of the computer.


ANS: T PTS: 1 REF: 3



2. Machine language consists of entering a series of hexadecimal codes into the computer.


ANS: F PTS: 1 REF: 3



3. Machine code was considered to be the first software.


ANS: T PTS: 1 REF: 3



4. Assembly language consists of entering a series of binary codes into the computer.


ANS: F PTS: 1 REF: 4-5



5. A linker program is used to load machine code into computer memory.


ANS: F PTS: 1 REF: 5



6. An abstraction is a way of expressing ideas that make them concise, simple, and easy for the
human mind to grasp.


ANS: T PTS: 1 REF: 6

, 7. Assembly language is standard across all types of computer hardware architectures.


ANS: F PTS: 1 REF: 6



8. The FORTRAN language provided support for algebraic notation and floating-point numbers.


ANS: T PTS: 1 REF: 6



9. The first assembly languages appeared in the 1970s.


ANS: F PTS: 1 REF: 6



10. FORTRAN was the first programming language to be machine independent.


ANS: F PTS: 1 REF: 7



11. The ALGOL programming language provides support for recursive procedures.


ANS: T PTS: 1 REF: 7



12. The lambda calculus was based on the theory of recursive functions.


ANS: T PTS: 1 REF: 8



13. The use of variable names is considered to be a basic data abstraction.


ANS: T PTS: 1 REF: 9

,14. A structured control abstraction divides a program into groups of instructions.


ANS: T PTS: 1 REF: 11



15. A procedure is a function that returns a value to its caller.


ANS: F PTS: 1 REF: 13



16. A higher-order function returns a function as a value.


ANS: T PTS: 1 REF: 13



17. The primary feature of an imperative language is a sequence of statements that represent
commands.


ANS: T PTS: 1 REF: 15



18. The syntax of a programming language refers to its meaning.


ANS: F PTS: 1 REF: 16



19. The syntax of a programming language is like the grammar of a natural language.


ANS: T PTS: 1 REF: 16



20. The lexical structure of a programming language is similar to grammar in a natural language.


ANS: F PTS: 1 REF: 17



21. A translator that executes a program directly is called a compiler.

, ANS: F PTS: 1 REF: 18



22. A translator that produces an equivalent program in an executable form is called a compiler.


ANS: T PTS: 1 REF: 18



23. A virtual machine is an interpreter.


ANS: T PTS: 1 REF: 18



24. A programming language’s words are referred to as tokens.


ANS: T PTS: 1 REF: 17



25. Specification languages would allow users to indicate their requirements and would then
implement those requirements.


ANS: T PTS: 1 REF: 19




MULTIPLE CHOICE



1. Which of the following statements about programming languages is correct?

a. ALGOL was developed before FORTRAN.

b. C language was developed before ALGOL.

c. The Ada language is based on Prolog.

d. Pascal is based on ALGOL.


ANS: D PTS: 1 REF: 3

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
PracticeExams my own
Follow You need to be logged in order to follow users or courses
Sold
316
Member since
2 year
Number of followers
194
Documents
3272
Last sold
1 month ago
ExamPrepZone

4,1

41 reviews

5
25
4
4
3
7
2
2
1
3

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions