AP Comp Std 2 Review

AP Comp Std 2 Review

12th Grade

24 Qs

quiz-placeholder

Similar activities

Quiz Pemrograman Perangkat Bergerak 2

Quiz Pemrograman Perangkat Bergerak 2

12th Grade - University

20 Qs

To meet the horizon

To meet the horizon

11th - 12th Grade

20 Qs

12 CA 1-10

12 CA 1-10

12th Grade

20 Qs

Lebih Dekat Dengan Komputer Akuntansi

Lebih Dekat Dengan Komputer Akuntansi

KG - University

20 Qs

Spreadsheet

Spreadsheet

8th Grade - University

20 Qs

Tech Trivia, Part III

Tech Trivia, Part III

7th - 12th Grade

20 Qs

แบบทดสอบบทที่ 2 การเก็บรวบรวมและสำรวจข้อมูล ม.5

แบบทดสอบบทที่ 2 การเก็บรวบรวมและสำรวจข้อมูล ม.5

9th - 12th Grade

20 Qs

LATIHAN SIMDIG

LATIHAN SIMDIG

9th - 12th Grade

20 Qs

AP Comp Std 2 Review

AP Comp Std 2 Review

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Kelly Challand

Used 7+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

24 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to declare a variable in JavaScript?

variable

var

int

x

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is commonly used to display output on the screen in most programming languages?

post

PRINT

println

write

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Examine the following JavaScript function. Which of the following values cannot be an output when the function is executed?

function start(){

var mysteryNum = 10 * Randomizer.nextInt(2,10);

console.log(mysteryNum);

}

20

30

10

90

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function should you use to prompt the user to input text in a program?

readln

readLine

text

println

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Consider the following JavaScript function:

function start(){

var loggedIn = false;

console.log("User logged in?: " + !loggedIn);

}

What will be the output when this function is executed?

User logged in?: true

User logged in?: false

There is a syntax error in the code

User logged in?: + loggedIn

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which symbol is used for multiplication in JavaScript programming?

x

X

*

#

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Consider the following JavaScript program:

var result = 0;

var max = 5;

for(var i = 0; i < max; i++){

result += i;}

console.log(result);

What will be the output when this code is executed?

15

10

0

12345

Create a free account and access millions of resources

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?