RockTheQuiz

RockTheQuiz

Professional Development

25 Qs

quiz-placeholder

Similar activities

Dzień Kobiet

Dzień Kobiet

Professional Development

20 Qs

Programming Knowledge Quiz (Easy)

Programming Knowledge Quiz (Easy)

5th Grade - Professional Development

20 Qs

Type of designers

Type of designers

Professional Development

20 Qs

TRICKY QUIZ

TRICKY QUIZ

Professional Development

30 Qs

THE TEACHING PROFESSION

THE TEACHING PROFESSION

Professional Development

20 Qs

Web 3 Quiz Batch 1

Web 3 Quiz Batch 1

Professional Development

20 Qs

FSD Quiz

FSD Quiz

Professional Development

20 Qs

Java loops and nested loops

Java loops and nested loops

Professional Development

29 Qs

RockTheQuiz

RockTheQuiz

Assessment

Quiz

Education

Professional Development

Hard

Created by

Antonio Borges

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the localStorage property in the Browser API allow you to do?

Retrieve data from a remote server

Store data on the client-side persistently

Access the user's location information

Manage browser history

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following methods is used to make an asynchronous HTTP request in JavaScript and is commonly used with the Browser API?

setTimeout()

request()

localStorage()

fetch()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the document.querySelector('#app')?

To select all elements within the HTML document

To create a new HTML element with the id 'app'

To select the first element with the ID 'app' in the HTML document.

To link to an external JavaScript file named 'app.js'.

To select the first element with the class 'app' in the HTML document.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you attach an event listener to a button with the id "myButton" using JavaScript and the DOM?

document.getElementById('myButton').onclick = myFunction
document.getElementById('myButton').addEventListener('click', myFunction)

myButton.addListener('click', myFunction)

myButton.attachEvent("click", myFunction)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the Git command `git pull` do?

Discard changes in the working directory

Creates a new branch in the local repository
Pushes changes from the local repository to the remote repository
Updates the local repository with changes from the remote repository

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between let and const?

let can be redeclared in the same scope, while const cannot

let is block-scoped, while const is function-scoped

let can be declared without being initialised, while const must be initialised when declared

all of the anwers are correct

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between null and undefined?

null is a primitive data type, while undefined is an object

null is explicitly set by a developer, while undefined is the default value of uninitialized variables

null is a falsy value, while undefined is not

all of the answers are correct

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?