DSA Quiz

DSA Quiz

University

15 Qs

quiz-placeholder

Similar activities

Moringa JavaScript Iteration

Moringa JavaScript Iteration

9th Grade - Professional Development

10 Qs

Seatwork 2

Seatwork 2

University

10 Qs

C programming

C programming

11th Grade - University

10 Qs

9618 Chp11 Programming Basics Quiz

9618 Chp11 Programming Basics Quiz

11th Grade - University

20 Qs

Python Basics

Python Basics

KG - University

16 Qs

SAS PG2 Processing Data Iteratively

SAS PG2 Processing Data Iteratively

University

10 Qs

Exam 1 Practice

Exam 1 Practice

University

15 Qs

SECOND PERIODICAL QUIZ - BLENDED - ITE 260

SECOND PERIODICAL QUIZ - BLENDED - ITE 260

University

15 Qs

DSA Quiz

DSA Quiz

Assessment

Quiz

Computers

University

Hard

Created by

inocencio madriaga

Used 26+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The __________ statement uses single expression for multiple choices

loop

switch

multiple value

if else

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The expression in an if statement is sometimes called a(n) ____.

selection statement

action statement

decision maker

action maker

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When one control statement is located within another, it is said to be ____.

blocked

compound

nested

closed

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following will cause a logical error if you are attempting to compare x to 5?

if (x == 5)

if (x = 5)

if (x <= 5)

if (x >= 5)

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Selection stucture consist of

if else statements

switch case statement

for statement

while statement

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

With while loops if the conditional expression evaluates to true, the body of the loop is not preformed; control transfers to the statements following the loop.

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Using the break or continue statements with a loop violates the single entry and single exit guidelines for developing a loop.

False

True

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?