Search Header Logo

Praxis 5652 Computer Science Prep Mod 7 Conditionals

Authored by Brandon Milam

Computers

Professional Development

Used 1+ times

Praxis 5652 Computer Science Prep Mod 7 Conditionals
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Consider the following code segment.

8

13

5

x

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

For the pseudocode segment below, identify the missing code that will produce the correct output of 10.

 

I and III only

I only

I, II, and III

II only

Answer explanation

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be printed when the code segment is executed?

2

2.5

16

8

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the value of score after the code executes?

8

0

15

16

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the purpose of the following pseudocode segment?  Assume that num1, num2, and num3 have been properly declared and initialized integer variables.

Find the maximum value of num1, num2, and num3

Find the value of num1, num2, and num3

Find the area of a cube with dimensions num1, num2, and num3

Find the minimum value of num1, num2, and num3

Answer explanation

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Consider the following code segment. What is the output?

12  0  20

20  20  0

12  20  0

12  20 20

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does this code segment print?

 

not equals

equals

false

true

Answer explanation

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?