AlgoProg-Week2

AlgoProg-Week2

University

6 Qs

quiz-placeholder

Similar activities

Quiz 3: File Operations

Quiz 3: File Operations

University

10 Qs

Java Static

Java Static

University

10 Qs

Java Control Flow Statements

Java Control Flow Statements

University

10 Qs

Quiz 2: C++ Basics

Quiz 2: C++ Basics

University

11 Qs

Basics Of C Programming

Basics Of C Programming

University

10 Qs

C Programming quiz 3

C Programming quiz 3

University

10 Qs

C - Pointers

C - Pointers

University

10 Qs

C Programming Quiz-5

C Programming Quiz-5

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