CS A Unit 4 Practice

CS A Unit 4 Practice

11th Grade

24 Qs

quiz-placeholder

Similar activities

iGCSE Computer Science: Programming Languages

iGCSE Computer Science: Programming Languages

9th - 12th Grade

20 Qs

AP CSA Review 1 / - 3-27

AP CSA Review 1 / - 3-27

9th - 12th Grade

20 Qs

Java Loops

Java Loops

10th - 12th Grade

24 Qs

Puthon upto and including loops quiz

Puthon upto and including loops quiz

9th - 12th Grade

20 Qs

แบบทดสอบ Python เบื้องต้น

แบบทดสอบ Python เบื้องต้น

9th - 12th Grade

20 Qs

Parameters and Return Review

Parameters and Return Review

9th - 12th Grade

19 Qs

Python for Beginners

Python for Beginners

9th - 12th Grade

20 Qs

Python Easy

Python Easy

9th - 12th Grade

20 Qs

CS A Unit 4 Practice

CS A Unit 4 Practice

Assessment

Quiz

Computers

11th Grade

Hard

Created by

SAMUEL KEENER

Used 2+ times

FREE Resource

24 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which kind of loop would be used?


I need a program that will keep letting me add a monthly payment for 12 months.

FOR Loop

WHILE Loop

2.

MULTIPLE CHOICE QUESTION

1 min • 12 pts

Which kind of loop would be used?


I need a guessing game program that will let me keep guessing until I get the right answer.

FOR Loop

WHILE Loop

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which kind of loop would be used?


I need a program that will keep letting me add money to a piggy bank until I get to $100.

FOR Loop

WHILE Loop

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the symbol used for the INCREMENT operator ?

+

++

=

==

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

How many times will the following code print "Welcome to Java"?
int count = 0;
while (count < 10) {
 System.out.println("Welcome to Java");
 count++;
}
8
9
10
0

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which is NOT a way to add one to count?

count ++;

count = count + 1;

count +=1;

count +1;

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What will happen if an infinite while loop runs?

the program will crash

the computer will crash

the loop will just keep running

an error message will be displayed

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?