wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Class 6 Coding Quiz

Total questions: 36

Worksheet time: 18mins

Name
Class
Date
1.

What is the base of the binary number system?

a)

2

b)

8

c)

10

d)

16

2.

Which of the following is an Excel chart type?

a)

Line Chart

b)

Pie Chart

c)

Column Chart

d)

All of the above

3.

JavaScript is mainly used for:

a)

Backend Development

b)

Styling Web Pages

c)

Adding Interactivity to Web Pages

d)

None of the above

4.

What tag is used to create a form in HTML?

a)

b)

c)

d)

5.

The hexadecimal number system has a base of:

a)

2

b)

8

c)

10

d)

16

6.

In JavaScript, which keyword is used to declare a variable?

a)

var

b)

let

c)

const

d)

All of the above

7.

MS Excel charts help in:

a)

Formatting text

b)

Graphical representation of data

c)

Writing code

d)

Creating animations

8.

The function of tag in HTML forms is:

a)

To display images

b)

To take user input

c)

To create a table

d)

To define a hyperlink

9.

The binary equivalent of decimal number 10 is:

a)

1010

b)

1001

c)

1111

d)

1100

10.

Which of the following is an example of a JavaScript event?

a)

onclick

b)

onmouseover

c)

onkeyup

d)

All of the above

11.

Who invented JavaScript?

a)

Tim Berners-Lee

b)

Brendan Eich

c)

Haakon Wium Lie

d)

Dennis Ritchie

12.

In HTML, JavaScript must be inserted inside which HTML tags?

a)

b)

and

c)

d)

and

13.

What is NOT a correct syntax for writing output in JavaScript?

a)

window.alert()

b)

console.log()

c)

body.html()

d)

document.write()

14.

The binary equivalent of decimal number 13 is:

a)

1101

b)

1010

c)

1110

d)

1001

15.

What does MS Excel mainly deal with?

a)

Text Editing

b)

Numbers and Calculations

c)

Web Designing

d)

Programming

16.

Which of the following is NOT a type of Excel chart?

a)

Line Chart

b)

Pie Chart

c)

Bar Chart

d)

Table Chart

17.

JavaScript is mainly used for:

a)

Backend Development

b)

Adding Interactivity to Web Pages

c)

Formatting Documents

d)

Running SQL Queries

18.

Which of the following is a valid variable declaration in JavaScript?

a)

var x = 5;

b)

let y = "hello";

c)

const z = true;

d)

All of the above

19.

What tag is used to create a form in HTML?

a)

b)

c)

d)

20.

Which of the following is NOT an input type in HTML forms?

a)

Text

b)

Number

c)

Color

d)

Print

21.

JavaScript is a:

a)

High-level programming language

b)

Markup language

c)

Database language

d)

Spreadsheet application

22.

Which function is used to display messages in a pop-up window in JavaScript?

a)

console.log()

b)

window.alert()

c)

document.write()

d)

display()

23.

Which of the following number systems is NOT commonly used in computers?

a)

Binary

b)

Octal

c)

Decimal

d)

Roman

24.

Which is the correct HTML input tag for an email field?

a)

b)

c)

d)

25.

Which of the following is an example of a JavaScript event?

a)

onclick

b)

onmouseover

c)

onkeyup

d)

All of the above

26.

What is at the end of a line of code?

a)

#

b)

;

c)

)

d)

>

27.

Where is JavaScript code usually written in a webpage?

a)

In a CSS file

b)

Inside the