PGE Revision 5

PGE Revision 5

12th Grade

30 Qs

quiz-placeholder

Similar activities

MIL Removal 2.0

MIL Removal 2.0

12th Grade

25 Qs

Quiz Elemen Javascript Kelas XII RPL

Quiz Elemen Javascript Kelas XII RPL

12th Grade

25 Qs

MSW Logo Quiz (Grade IV)

MSW Logo Quiz (Grade IV)

4th Grade - University

25 Qs

Java Review

Java Review

9th Grade - University

25 Qs

Topic 6.0 SDLC

Topic 6.0 SDLC

11th - 12th Grade

25 Qs

HTML Fundamentals

HTML Fundamentals

10th - 12th Grade

25 Qs

PTS PKWU 6

PTS PKWU 6

12th Grade

25 Qs

Manufacturing applications and school management systems.

Manufacturing applications and school management systems.

12th Grade

25 Qs

PGE Revision 5

PGE Revision 5

Assessment

Quiz

Computers

12th Grade

Practice Problem

Medium

Created by

Daniel undefined

Used 10+ times

FREE Resource

AI

Enhance your content in a minute

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

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which one of the following code does NOT allow the value of a variable to be changed after it is declared and assigned in JavaScript?

const width = 13.20;

fixed width = "13.20";

static width = "13.20";

constant width = 13.20;

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Which method is use to create the above figure?

alert().

custom().

modal().

popup().

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is a bug in a computer program?

Error.

Number.

Symbol.

Image.

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which is the correct way to perform a single line comment in JavaScript?

"Single line comment"

II Single line comment

<!-- Single line comment -->

// Single line comment

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which is the correct JavaScript code to link to an external JavaScript file named "holiday.js" in the same folder?

<script src="holiday.js"></script>

<script sync="holiday.js"></script>

<script charset="holiday.js"></script>

<script file="holiday.js"></script>

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which one of the following statements best describes a function?

It always returns a empty value.

It is always executed even when not called.

It refers to any block of code enclosed within < >.

It is a block of code that has to be called to perform some tasks.

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which one of the following options is the correct way to declare an array called stationary?

var stationary = #pen, paper, clip;

var stationary = @pen, paper, clip;

var stationary = ["pen", "paper", "clip"];

var stationary = ??"pen", "paper", "clip"??;

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?