• 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 13 pages
Exam (elaborations)

Programming Logic and Design Exam - Questions and Answers

Document preview thumbnail
Preview 2 out of 13 pages

Programming Logic and Design Exam - Questions and Answers Which operator is best to determine whether x contains a value in the range of 10 through 57? A) AND B) NOT C) OR D) == E) None of these Which structure is a logical design that controls the order in which a set of statements executes? A) Control B) Sequence C) Module D) Terminal E) None of these True/False: The short-circuit evaluation is performed with expressions containing any logical operators. A) True B) False What two logical operators perform short-circuit evaluation? A) NOT and OR B) AND and OR C) AND and NOT D) All of these E) None of these True/False: In an expression with an OR operator, it does not matter which sub expression is true for the compound expression to be true. A) True B) False Which of the following operators reverses the logic of its operand? A) NOT B) AND C) OR D) All of these E) None of these The ________ operator is a unary operator, as it works with only one operand. A) AND B) NOT C) OR D) All of these E) None of these True/False: Decision structures are also known as selection structures. A) True B) False What type of operators are the following? = = == != A) Boolean B) Relational C) Logical D) Mathematical E) None of these True/False: The first line of the case structure starts with the word CASE followed by the test expression. A) True B) False True/False: The While loop will never execute if its condition is true to start with. A) True B) False Which loop statement does not contain an increment statement but automatically increments the counter at the end of each iteration? A) Do-While B) Do-Until C) For D) While E) None of these In a count-controlled loop, the counter performs


Document information

Uploaded on
July 11, 2023
Number of pages
13
Written in
2022/2023
Type
Exam (elaborations)
Contains
Questions & answers
$11.99

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

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.
NurseHenny
4.4
(31)
Sold
175
Followers
75
Items
2113
Last sold
2 days 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.