Search Header Logo

JS1 Sprint 1 Quiz

Authored by Mitchell Lloyd

Computers

12th Grade

JS1 Sprint 1 Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an interface in the context of computers?

A programming language

A gate that allows communication between a user and a machine

A type of data

A device used to store and perform operations on data

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the 'ls' command do in a terminal?

Lists the files and directories in the current directory

Creates a new directory

Moves files to a different directory

Deletes files in the current directory

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a data type in JavaScript?

Function

String

Interface

Command

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the '+' operator do in JavaScript?

Subtracts two numbers

Adds two numbers

Multiplies two numbers

Divides two numbers

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does REPL stand for?

Run, Evaluate, Print, Loop

Read, Execute, Print, Loop

Run, Execute, Print, Loop

Read, Evaluate, Print, Loop

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable in programming?

A label for a piece of data

A programming language

A type of interface

A type of function

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a function in programming?

A reusable set of instructions

A type of data

A programming language

A terminal command

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?