Online Exam Quiz

questionQuestion  1 to 30

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

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

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 tag is used to create a drop-down list in HTML?

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

Which of the following is a JavaScript runtime built on Chrome's V8 engine?

  • Node.js
  • Ruby
  • Python
  • PHP
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 JavaScript testing framework?

  • Mocha
  • Selenium
  • JUnit
  • Cucumber
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 company developed the React library?

  • Google
  • Facebook
  • Microsoft
  • Apple
Mark for review

In CSS, which property is used to change the text color?

  • font-color
  • text-color
  • color
  • font-style
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 change the background color of an element?

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

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

  • Apache
  • IIS
  • Nginx
  • Tomcat
Mark for review

Which of the following is used to style React components?

  • CSS
  • SCSS
  • Styled-components
  • Less
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 CSS, which property is used to set the spacing between lines of text?

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

Which of the following is used for version control?

  • Docker
  • Git
  • Jenkins
  • Kubernetes
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

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 CSS property is used to change the font of an element?

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

In JavaScript, how do you declare a variable?

  • var
  • int
  • String
  • float
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 HTML tag is used to define an internal style sheet?

  • <style>
  • <script>
  • <css>
  • <link>
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

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 HTML attribute is used to specify that an input field must be filled out?

  • required
  • placeholder
  • validate
  • pattern
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 the acronym REST stand for?

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

Which HTTP method is used to update a resource?

  • GET
  • POST
  • PUT
  • DELETE
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