AlgoProg-Week2

AlgoProg-Week2

University

6 Qs

quiz-placeholder

Similar activities

Recap Chapter 6, 7, 8

Recap Chapter 6, 7, 8

University

11 Qs

Array 2

Array 2

University

6 Qs

CD QUIZ S5 21-3-2022

CD QUIZ S5 21-3-2022

University

10 Qs

Basic C++ Program Structures

Basic C++ Program Structures

University

10 Qs

Recursion

Recursion

University

8 Qs

c-languiz

c-languiz

University

10 Qs

Python Week 1 & 2

Python Week 1 & 2

University

10 Qs

TECH INTELLECT - ROUND 2

TECH INTELLECT - ROUND 2

University

10 Qs

AlgoProg-Week2

AlgoProg-Week2

Assessment

Quiz

Computers

University

Medium

Created by

MUHAMMAD RIZKI NUR MAJIID

Used 2+ times

FREE Resource

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