Online Exam Quiz

questionQuestion  1 to 30

Which HTML attribute is used to specify that an input field must be filled out?

  • required
  • placeholder
  • validate
  • pattern
Mark for review

In JavaScript, how do you declare a variable?

  • var
  • int
  • String
  • float
Mark for review

What is the purpose of the 'componentDidMount()' method in React?

  • To handle form submissions
  • To fetch data after component mounts
  • To initialize state
  • To update state
Mark for review

What does JSON stand for?

  • JavaScript Object Notation
  • JavaScript Online Notation
  • JavaScript Oriented Notation
  • Java Syntax Object Notation
Mark for review

Which of the following is a common backend framework for Node.js?

  • Express
  • Flask
  • Laravel
  • Symfony
Mark for review

Which of the following is a backend programming language?

  • HTML
  • CSS
  • JavaScript
  • Node.js
Mark for review

Which CSS framework is known for its responsive design capabilities?

  • Bootstrap
  • Foundation
  • Materialize
  • Tailwind
Mark for review

What is the default value of the 'flex-direction' property in CSS flexbox?

  • row
  • column
  • row-reverse
  • column-reverse
Mark for review

Which of the following is a JavaScript testing framework?

  • Mocha
  • Selenium
  • JUnit
  • Cucumber
Mark for review

In React, what is the purpose of useState?

  • To handle side effects
  • To manage component state
  • To perform AJAX requests
  • To handle context
Mark for review

In JavaScript, what is the purpose of the 'this' keyword?

  • Refers to the current object
  • Refers to the next object
  • Refers to a global object
  • Refers to a new object
Mark for review

Which of the following is a frontend framework?

  • Flask
  • Spring
  • Angular
  • Django
Mark for review

In JavaScript, which function is used to parse a JSON string?

  • JSON.parse()
  • JSON.stringify()
  • parseJSON()
  • JSON.convert()
Mark for review

Which tag is used to create a drop-down list in HTML?

  • <select>
  • <dropdown>
  • <list>
  • <datalist>
Mark for review

In JavaScript, which method is used to convert an array to a string?

  • toString()
  • join()
  • concat()
  • slice()
Mark for review

What does the acronym MVC stand for in web development?

  • Model-View-Controller
  • Module-View-Controller
  • Model-View-Content
  • Module-View-Content
Mark for review

Which of the following is a commonly used open-source web server?

  • Apache
  • IIS
  • Nginx
  • Tomcat
Mark for review

What is the purpose of the 'ngFor' directive in Angular?

  • To repeat a set of HTML nodes
  • To conditionally render content
  • To bind a value to the model
  • To listen to events
Mark for review

Which tool is used for automating browser actions?

  • Webpack
  • Babel
  • Gulp
  • Selenium
Mark for review

What is the purpose of the 'map()' function in JavaScript?

  • To transform each element in an array
  • To filter elements in an array
  • To find elements in an array
  • To sort elements in an array
Mark for review

In HTML, which attribute is used to specify the URL of an image?

  • href
  • src
  • link
  • url
Mark for review

What is the correct HTML element for inserting a line break?

  • <lb>
  • <br>
  • <break>
  • <line>
Mark for review

Which method is used to add a new element at the end of an array in JavaScript?

  • push()
  • pop()
  • shift()
  • unshift()
Mark for review

Which command is used to initialize a new Git repository?

  • git init
  • git start
  • git create
  • git new
Mark for review

In CSS, which property is used to set the spacing between lines of text?

  • line-height
  • spacing
  • text-spacing
  • letter-spacing
Mark for review

What is the purpose of the 'flexbox' layout in CSS?

  • To create a flexible layout
  • To create grid layouts
  • To add animations
  • To control visibility
Mark for review

Which HTTP method is used to update a resource?

  • GET
  • POST
  • PUT
  • DELETE
Mark for review

Which of the following is used to style React components?

  • CSS
  • SCSS
  • Styled-components
  • Less
Mark for review

Which of the following is a NoSQL database?

  • MySQL
  • PostgreSQL
  • MongoDB
  • SQLite
Mark for review

Which protocol is used to secure HTTP traffic?

  • FTP
  • SMTP
  • HTTPS
  • SSH
Mark for review

blinkerOnline

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • Answered
  • Not Answered
  • Marked for Review