Programming Logic and Design, 5th edition.  Ch 1- 4

Programming Logic and Design, 5th edition. Ch 1- 4

12th Grade

168 Qs

quiz-placeholder

Similar activities

Eü Ágazati Alapvizsga - Ápolástani ismeretek

Eü Ágazati Alapvizsga - Ápolástani ismeretek

12th Grade

166 Qs

Középszintű magyarérettségi kérdések

Középszintű magyarérettségi kérdések

12th Grade

166 Qs

三年生の かんじ練習

三年生の かんじ練習

9th - 12th Grade

170 Qs

KB Science Review

KB Science Review

9th - 12th Grade

170 Qs

FFA Quiz Bowl Question Bank 2023-2024 General FFA Facts

FFA Quiz Bowl Question Bank 2023-2024 General FFA Facts

12th Grade

167 Qs

General Education (Joylyn)

General Education (Joylyn)

12th Grade

165 Qs

 2606

2606

4th Grade - University

165 Qs

Preguntas de VERDADERO Y FALSO POLICE 2025

Preguntas de VERDADERO Y FALSO POLICE 2025

9th - 12th Grade

170 Qs

Programming Logic and Design, 5th edition.  Ch 1- 4

Programming Logic and Design, 5th edition. Ch 1- 4

Assessment

Quiz

Other

12th Grade

Medium

Created by

Oluwaseyi Fabumuyi

Used 1+ times

FREE Resource

168 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The main components of a computer are?

Hardware

Hardware and Software

Central Processing Unit (CPU) and Software

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. What is a flag variable?

A flag is a variable signal that sets to False

A flag is a variable that signals when some condition exists in the program.

A flag is a variable signal that sets to True

A flag is a variable that signals when some condition starts in the program

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. What values can you store in a Boolean variable?

True or False

Yes or No

Fact or Fiction

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You need to write a multiple alternative decision structure, but the language you are using will not allow you to perform the test you need in a Select Case statement. What can you do to achieve the same results?

the program jumps out of the structure.

the program will branch to the Case 1: section and execute the Display "Error: Invalid month" statement that immediately follows it.

the program branches to the Case statement

the program branches to the Default statement and executes the statements that immediately follow it.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the case structure test, in order to determine which set of statements to execute?

test If the testExpression does not match any of the Case values

test if there is one or more blocks of statements that begin with a Case statement.

test the value of a variable or an expression and then use that value to determine which statement or set of statements to execute.

tests if the model number can be stored in a variable

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you write a multiple alternative decision structure in pseudocode?

Media Image
Media Image
Media Image
Media Image

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. How does a dual alternative decision structure work?

is an expression that can be evaluated to True or False using a relational operator (>, <, >=, <=, ==, !=)

one path is taken if a condition is true, and the other path is taken if the condition is false

One path is taken if the condition evaluates True, the other if the condition evaluates False. See the answer to 4.8. It's the same question!

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?