Search Header Logo

IFSD Quiz 03&04

Authored by Sudhakar N

Computers

University

Used 1+ times

IFSD Quiz 03&04
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

How do you create a new array in JavaScript?

const myArray = [];
var myArray = [];
const myArray = new Array();
myArray[] = [];

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

How do you create a new element in the DOM using JavaScript?

createNode()
createElement()
newElement()
makeElement()

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

How do you declare a constant variable in JavaScript?

const myVar = 10;
let myVar = 10;
var myVar = 10;
constant myVar = 10;

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

How do you declare a variable with block scope in JavaScript?

var
let
const
block

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

In CSS, what property is used to change the text color of an element?

font-style
color
text-color
text-style

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

In CSS, what property is used to set the background image of an element?

background-image
image-background
background-style
image-style

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

In CSS, what property is used to set the font family of an element?

font-family
font-style
font-size
font-weight

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?