Search Header Logo

Problem Solving, Algorithm Development and Program Design

Authored by Cadile Whittle

Computers

10th - 11th Grade

Used 98+ times

Problem Solving, Algorithm Development and Program Design
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which algorithm correctly calculates the average and sum of two user inputted numbers and displays the result of both?

read a

read b

c=a+b

d=a+b/2

print c, d

read a

read b

c=a+b

d=c/2

print c, d

read a

c=a+b

d=(a+b)/2

print c, d

read a

read b

d=c/2

c=a+b

print c, d

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which construct should be used to count from 1 to 5 and print each number consecutively?

IF-THEN-ELSE

FOR-DO-ENDFOR

WHILE-ENDWHILE

IF-THEN-ELSE-IF

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which pseudocode prints out the two times table for the numbers 1 to 6?

For number = 1 to 6 do

product =number *2

print number

Endfor

Display "Number", "Product"

While number <= 6 do

product =number *2

print number, product

Endwhile

Display "Number", "Product"

For number = 1 to 6 do

product =number *2

print number, product

Endfor

Display "Number", "Product"

While number = 1 to 6 do

product =number *2

print number, product

Endwhile

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is an example of a language a computer would understand?

Binary

Pascal

C

All the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Before a computer can understand a program it must be...

Translated into its machine code.
Translated into a high level language.
Translated into a low level language.
Converted into binary.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is an example of a debugging technique

Documentation

Execution

Error Checking

Dry run

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a high level programming language?

Assembly

C

Java

Pascal

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?