Search Header Logo

Unit3 JavaScript Basics Quiz

Authored by R. Mou

Computers

10th Grade

Used 48+ times

Unit3 JavaScript Basics Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

About

This quiz covers JavaScript programming fundamentals, specifically targeting essential syntax, basic operations, and introductory programming concepts appropriate for 10th grade computer science students. The questions assess students' understanding of core JavaScript elements including variable declaration with keywords like "let" and "var," input/output operations using console.log and user input functions, basic arithmetic operators for mathematical calculations, and the Randomizer object for generating random numbers and booleans. Students must demonstrate knowledge of function definition and invocation syntax, understand the distinction between declaring a function and executing it, and recognize proper function calling conventions. The quiz also incorporates collaborative programming concepts by testing knowledge of pair programming roles and benefits, reinforcing both technical skills and professional development practices essential for computer science education. Created by R. Mou, a Computers teacher in US who teaches grade 10. This assessment serves as an excellent formative evaluation tool for students progressing through their first JavaScript programming unit, providing immediate feedback on foundational concepts that build toward more complex programming challenges. Teachers can deploy this quiz as a warm-up activity to gauge student readiness before introducing advanced topics, assign it as homework to reinforce classroom learning, or use it for review sessions before summative assessments. The multiple-choice format allows for quick identification of common misconceptions while covering critical programming fundamentals that align with standards such as CSTA K-12 Computer Science Standards 2-AP-10 (use flowcharts and/or pseudocode to address complex problems as algorithms), 2-AP-11 (create clearly named variables that represent different data types), and 2-AP-13 (decompose problems and subproblems into parts to facilitate the design, implementation, and review of programs).

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the proper function to call to print to the screen?

write
console.log
print
log
console.print

2.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

What keyword do you need to use to define a variable in JavaScript?

variable
let
int
x

var

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What function do you need to call to ask the user of the program to enter text?

readLine
readln
text
console.log
None of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To ask the user of the program for a number, which function should you use?

readLine
readInt
readFloat
Both readInt and readFloat are for numbers.
None of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the following code print to the screen? console.log(2 + 2);

2 + 2
4
22
Nothing
None of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbol do you use to do division in JavaScript?

%
/
//
*
None of the above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbol do you use to do multiplication in JavaScript?

x
X
*
#
None of the above

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?