PGE Revision 5

PGE Revision 5

12th Grade

30 Qs

quiz-placeholder

Similar activities

Java Programming Quizz-GX

Java Programming Quizz-GX

9th - 12th Grade

25 Qs

JavaScript_Revision

JavaScript_Revision

12th Grade

30 Qs

bahasa penskripan client 1

bahasa penskripan client 1

12th Grade

30 Qs

Web Development Assessment

Web Development Assessment

9th - 12th Grade

32 Qs

Kisi Kisi MP XI TJKT

Kisi Kisi MP XI TJKT

9th - 12th Grade

35 Qs

Code.org Unit 5 Data

Code.org Unit 5 Data

9th - 12th Grade

33 Qs

Code.org APCS

Code.org APCS

9th - 12th Grade

33 Qs

Computer Science Principles Lists Loops Traversals

Computer Science Principles Lists Loops Traversals

9th - 12th Grade

33 Qs

PGE Revision 5

PGE Revision 5

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Daniel undefined

Used 10+ times

FREE Resource

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?

Discover more resources for Computers