• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 6 pages
Exam (elaborations)

Programming Logic and Design: Chapter 1 Review Questions and Answers

Document preview thumbnail
Preview 2 out of 6 pages

The two major components of any computer system are its: a. Input and output b. Data and programs c. hardware and software d. memory and disk drives - Correct Answersc. hardware and software The major computer operation include: a. hardware and software b. input, processing, and output c. sequence and looping d. spreadsheets, word processing, and data communications - Correct Answersb. input, processing, and output Another term meaning "computer instructions" is: a. Hardware b. Software c. Queries d. Data - Correct Answersb. Software Visual Basic, C++ and Java are all examples of computer: a. Operating systems b. Hardware c. Machine languages d. Programming - Correct Answersd. Programming A programming language's rules are its: a. Syntax b. Logic c. Format d. Options - Correct Answersa. Syntax The most important task of a compiler or interpreter is to: a. Create the rules for a programming language b. Translate English statements into a language such as Java c. Translate programming language statements into machine language d. Execute machine language programs to perform useful tasks. - Correct Answersc. Translate programming language statements into machine language Which of the following terms is most closely related to machine language? a. High-level b. Source code c. Binary language d. All of the above - Correct Answersc. Binary language Which of the following is true about newer programming languages as opposed to older ones: a. Newer languages do not require that you understand logic. b. Newer languages do not have specific syntax rules c. Programs in newer languages tend to be written as one set of steps instead of being broken into modules d. Newer languages allow you to use reasonable names for memory locations instead of referencing memory addresses. - Correct Answersd. Newer languages allow you to use reasonable names for memory locations instead of referencing memory addresses. Object oriented programming focuses most on: a. Data b. Objects c. Procedures d. Arithmetic - Correct Answersb. Objects The attributes of an object are the things that it: a. Has b. Does c. Influence d. Understands - Correct Answersa. Has Originally, object oriented programming was used most frequently for two major types of applications. These were: a. Payroll and inventory b. Input and storage c. Computer simulations and graphical user interfaces d. Public and private applications - Correct Answersc. Computer simulations and graphical user interfaces Identifying all objects you want to manipulate and how they relate to each other is known as: a. Object programming b. Object-oriented design c. Method manipulation d. Relating - Correct Answersb. Object-oriented design Writing a program in a language such as C++ or Java is known as______________the program. a. Translating b. Coding c. Interpreting d. Compiling - Correct Answersb. Coding A compiler would find all of the following programming errors except: a. The misspelled word prrint in a language that includes the word print. b. The use of an X for multiplication in a language that instead requires an asterisk c. A newBalanceDue calculated by adding a customerPayment to an oldBalanceDue instead of subtracting it d. An arithmetic statement written as regularSales + discountedSales = totalSales - Correct Answersc. A newBalanceDue calculated by adding a customerPayment to an oldBalanceDue instead of subtracting it Two tools that are commonly used for planning a programs logic are: a. Flowcharts and psuedocode b. ASCII and EBCDIC c. Java and Visual Basics d, Word Processors and Spreadsheets - Correct Answersa. Flowcharts and psuedocode In a flowchart, input is represented by a: a. Rectangle b. Arrow c. Diamond d. Parallelogram - Correct Answersd. Parallelogram In a flowchart, processing is represented by a : a. Rectangle b. Arrow c. Diamond D. Parallelogram - Correct Answersa. Rectangle When you use an IDE instead of a simple text editor to develop a program: a. The logic is more complicated b. The logic is simpler c. The syntax is different d. Some help is provided - Correct Answersd. Some help is provided When you write a program that will run in a GUI environment as opposed to a command-line environment: a. The logic is very different b. Some syntax is different c. You do not need to plan the logic d. Users are more confused - Correct Answersb. Some syntax is different


Document information

Uploaded on
January 29, 2024
Number of pages
6
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers
$11.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Sold
2
Followers
1
Items
80
Last sold
2 year ago




Why students choose Stuvia

Created by fellow students, verified by reviews

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

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

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

Student with book image

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

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions

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