CodeHS Corgi Quiz

CodeHS Corgi Quiz

12th Grade

•

31 Qs

quiz-placeholder

Similar activities

MKC Virtual Student Conference Quiz

MKC Virtual Student Conference Quiz

12th Grade

•

30 Qs

ABM 001: INDIVIDUAL QUIZ

ABM 001: INDIVIDUAL QUIZ

12th Grade

•

31 Qs

AP Psychology Learning Quiz

AP Psychology Learning Quiz

9th - 12th Grade

•

33 Qs

Natural Log and Base e

Natural Log and Base e

9th - 12th Grade

•

30 Qs

Statistics Chapter 6

Statistics Chapter 6

12th Grade - University

•

27 Qs

segmen khas ppim siri 4

segmen khas ppim siri 4

10th Grade - Professional Development

•

30 Qs

games/ teck

games/ teck

KG - Professional Development

•

28 Qs

PBS 1.1 Review 2020

PBS 1.1 Review 2020

9th - 12th Grade

•

30 Qs

CodeHS Corgi Quiz

CodeHS Corgi Quiz

Assessment

Quiz

•

Other

•

12th Grade

•

Practice Problem

•

Medium

Created by

Teresa Gordon

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

31 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the command to print "Hello, World!" in Javascript?

System.out.println("Hello, World!");

console.log("Hello, World!");

cout << "Hello, World!";

print("Hello, World!");

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid JavaScript data type?

integer, float, boolean, string, array

character, double, true, text, list

number, boolean, string, object, undefined

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax to declare a variable in JavaScript?

int = variableName;

let variableName;

variableName let;

variableName;

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following JavaScript code? let x = 5; let y = 2; console.log(x + y);

2

10

3

7

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct way to write a comment in JavaScript?

# This is a comment in JavaScript

// This is a comment in JavaScript

/* This is a comment in C++ */

/* This is a comment in JavaScript */

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the command to prompt the user for input in JavaScript?

prompt()

console.log()

document.write()

alert()

7.

OPEN ENDED QUESTION

3 mins • 1 pt

What is the correct syntax to write an if statement in Corgi?

Evaluate responses using AI:

OFF

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?