Search Header Logo

AlgoProg-Week2

Authored by MUHAMMAD RIZKI NUR MAJIID

Computers

University

Used 2+ times

AlgoProg-Week2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Program execution begins at main() and executes statements surrounded by which symbols?

()

{}

""

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

The statement int wage; creates a variable named wage that is used to _____ the value 20.

Input

Output

Hold

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Would the following order of statements work the same as above?

wage = 20;

int wage;

Yes

No

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Each statement ends with what symbol?

Semicolon ;

Period .

Colon :

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

The expression wage * 40 * 52 resulted in what value?

20

41600

20 * 40 * 52

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Each printf() statement outputs items to _____.

a file named output.txt

the keyboard

the screen

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?

Discover more resources for Computers