Search Header Logo

Computer Science Exam 2

Authored by BRUCE BARRERA

others

9th - 12th Grade

Computer Science Exam 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

OPEN ENDED QUESTION

15 mins • Ungraded

First Name

Evaluate responses using AI:

OFF

2.

OPEN ENDED QUESTION

15 mins • Ungraded

Last Name

Evaluate responses using AI:

OFF

3.

MULTIPLE CHOICE QUESTION

15 mins • 10 pts

What is a code comment?

A way to teach Karel a new word
A way to give notes to the reader to explain what your code is doing
A message to your teacher in code
A place to write whatever you want in your code

4.

MULTIPLE CHOICE QUESTION

15 mins • 10 pts

What commands does SuperKarel know that regular Karel does not?

turnLeft() and jump()
turnRight() and jump()
turnAround() and turnRight()
turnAround() and jump()

5.

MULTIPLE CHOICE QUESTION

15 mins • 10 pts

Media Image

What is the best 'way for Karel to move 10 times?

A
B
C
D

6.

MULTIPLE CHOICE QUESTION

15 mins • 10 pts

Why do we use if statements in JavaScript?

To break out of some block of code
To do something only if a condition is true
To do something while a condition is true
To repeat something for a fixed number of times

7.

MULTIPLE CHOICE QUESTION

15 mins • 10 pts

Media Image

Which general if statement definition is written correctly?

A
B
C
D

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?