Online Exam Quiz

questionQuestion  1 to 30

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

  • href
  • src
  • link
  • url
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

Which CSS property is used to change the font of an element?

  • font-style
  • font-family
  • font-weight
  • font-size
Mark for review

What does HTML stand for?

  • Hypertext Markup Language
  • Hyperlink Markup Language
  • Hyperlink and Text Markup Language
  • Home Tool Markup Language
Mark for review

What is the correct HTML for adding a background color?

  • <background>yellow</background>
  • <body bg="yellow">
  • <body style="background-color:yellow;">
  • <bg>yellow</bg>
Mark for review

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

  • Apache
  • IIS
  • Nginx
  • Tomcat
Mark for review

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

  • <select>
  • <dropdown>
  • <list>
  • <datalist>
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 of the following is a NoSQL database?

  • MySQL
  • PostgreSQL
  • MongoDB
  • SQLite
Mark for review

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

  • required
  • placeholder
  • validate
  • pattern
Mark for review

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

  • JSON.parse()
  • JSON.stringify()
  • parseJSON()
  • JSON.convert()
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

Which company developed the React library?

  • Google
  • Facebook
  • Microsoft
  • Apple
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

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

What does the acronym REST stand for?

  • Representational State Transfer
  • Representational Structured Transfer
  • Reliable State Transfer
  • Resource State Transfer
Mark for review

Which of the following is a relational database?

  • MongoDB
  • Cassandra
  • MySQL
  • DynamoDB
Mark for review

Which of the following is a frontend framework?

  • Flask
  • Spring
  • Angular
  • Django
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

Which CSS framework is known for its responsive design capabilities?

  • Bootstrap
  • Foundation
  • Materialize
  • Tailwind
Mark for review

What is the main purpose of using Docker in development?

  • To deploy websites
  • To create virtual machines
  • To containerize applications
  • To manage databases
Mark for review

Which HTML tag is used to define an unordered list?

  • <ul>
  • <ol>
  • <li>
  • <list>
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

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

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

In CSS, what does the 'float' property do?

  • Aligns content
  • Clears floats
  • Specifies how an element should float
  • Centers content
Mark for review

What does JSON stand for?

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

What is the default port for HTTP?

  • 21
  • 80
  • 443
  • 8080
Mark for review

What is the purpose of CSS in web development?

  • To add interactivity
  • To style HTML documents
  • To store data
  • To structure content
Mark for review

In CSS, which property is used to change the background color of an element?

  • background-color
  • bg-color
  • color
  • background-style
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