Search Header Logo

quiz1

Authored by Soha Bahanshal

Science

University

quiz1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

1) Which of the following statements is false?

a) Pseudocode is useful for developing algorithms that will be converted to C programs.

b) Pseudocode is an actual computer programming language.

c) Pseudocode is an artificial and informal language that helps you develop algorithms.

d) Pseudocode describes the actions and decisions.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

2)  A........ error is an error that is detected by the compiler.

a) Syntax

b) Logic

c) Runtime

d) None of the above to active

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

 3) The........ selection statements perform an action if a condition is true and perform a different action if the condition is false.

a. if

b. switch

c. if... else

d. when

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

4)  True or false

C has only seven control statements: sequence, three types of selection, and three types of iteration.

a. True

b False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

5) Identify and correct the errors in each of the following:

 if (age >= 65);

{

    puts("Age is greater than or equal to 65");

}

else

{

   puts("Age is less than 65");

}

a. semicolon after the condition

b. It is correct

c. If should be captalize

d. there is missing bracket

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?