Welcome to SkillUP Ahmedabad, your trusted partner in unlocking the doors to a successful IT career.

Expert IT Training in Nikol

✅: 0

❌: 0

Q. 1   What is the full form of HTML?
  • Correct Answer: Hyper Text Markup Language

Q. 2   What is the purpose of CSS?
  • Correct Answer: To style and design a webpage

Q. 3   JavaScript is a ___ language.
  • Correct Answer: Scripting

Q. 4   What happens when you apply 'color: red;' in CSS?
  • Correct Answer: Text turns red

Q. 5   Which is the largest heading tag in HTML?
  • Correct Answer: h1

Q. 6   What is Bootstrap?
  • Correct Answer: A CSS framework

Q. 7   Which HTML tag is used to insert an image?
  • Correct Answer: img

Q. 8   Which keyword is used to declare a variable in JavaScript?
  • Correct Answer: All of the above

Q. 9   What does 'position: absolute;' do in CSS?
  • Correct Answer: Positions element relative to its parent

Q. 10   What does 'justify-content: center;' do in Flexbox?
  • Correct Answer: Centers items

Q. 11   What is the syntax for defining columns in CSS Grid?
  • Correct Answer: grid-template-columns: 1fr;

Q. 12   How do you create an alert box in JavaScript?
  • Correct Answer: alert('Hello')

Q. 13   What is the purpose of a Bootstrap container?
  • Correct Answer: To define the structure of a webpage

Q. 14   What is the correct CSS syntax for a hover effect?
  • Correct Answer: :hover

Q. 15   What is the correct syntax for a function in JavaScript?
  • Correct Answer: function myFunc() {}

Q. 16   How do you set padding inside a box in CSS?
  • Correct Answer: padding: 10px;

Q. 17   Which HTML tag is used to create a form?
  • Correct Answer: form

Q. 18   How do you declare an array in JavaScript?
  • Correct Answer: let arr = [1,2,3]

Q. 19   What is the correct syntax for making an image responsive in CSS?
  • Correct Answer: width: 100%; height: auto;

Q. 20   Which HTML5 tag is used to embed a video?
  • Correct Answer: video

Q. 21   What is the base of the Bootstrap responsive grid system?
  • Correct Answer: 12 columns

Q. 22   How do you set the font size of text in CSS?
  • Correct Answer: font-size: 14px;

Q. 23   What is the correct syntax for creating an object in JavaScript?
  • Correct Answer: let obj = {name: 'John', age: 30};

Q. 24   How do you set the background color of a div in CSS?
  • Correct Answer: background-color: red;

Q. 25   What is the correct syntax for a loop in JavaScript?
  • Correct Answer: for (i = 0; i < 10; i++) {}

Q. 26   What is the correct syntax for setting a border in CSS?
  • Correct Answer: border: 1px solid black;

Q. 27   Which Bootstrap class is used to create a primary-styled button?
  • Correct Answer: btn-primary

Q. 28   Which HTML tag is used to define a paragraph?
  • Correct Answer: p

Q. 29   Which CSS property is used to change text color?
  • Correct Answer: color

Q. 30   What does 'float: left;' do in CSS?
  • Correct Answer: Moves an element to the left

Q. 31   Which CSS property makes an element transparent?
  • Correct Answer: opacity

Q. 32   What is the full form of SVG?
  • Correct Answer: Scalable Vector Graphics

Q. 33   Which HTML tag is used for a line break?
  • Correct Answer: br

Q. 34   What is the default position property of an element in CSS?
  • Correct Answer: static

Q. 35   Which CSS property is used for rounded corners?
  • Correct Answer: border-radius

Q. 36   Which HTML element is used for navigation links?
  • Correct Answer: nav

Q. 37   What is the purpose of 'z-index' in CSS?
  • Correct Answer: Controls element order

Q. 38   Which pseudo-class is used for styling an element when hovered?
  • Correct Answer: :hover

Q. 39   Which HTML attribute is used to provide alternative text for an image?
  • Correct Answer: alt

Q. 40   Which unit in CSS is relative to the root element?
  • Correct Answer: rem

Q. 41   What is the default font size in most browsers?
  • Correct Answer: 16px

Q. 42   Which JavaScript function is used to round a number to the nearest integer?
  • Correct Answer: round()

Q. 43   Which tag is used for creating a dropdown list in HTML?
  • Correct Answer: select

Q. 44   What is the primary function of JavaScript?
  • Correct Answer: Interactivity & functionality

Q. 45   Which CSS property is used to create space between elements?
  • Correct Answer: margin

Q. 46   What does 'overflow: hidden;' do in CSS?
  • Correct Answer: Hides overflowing content

Q. 47   Which HTML tag is used for a numbered list?
  • Correct Answer: ol

Q. 48   Which CSS property changes the font type?
  • Correct Answer: font-family

Q. 49   How do you make text bold in HTML?
  • Correct Answer: Both A & B

Q. 50   Which CSS property is used to change the background color?
  • Correct Answer: background-color

Q. 51   What does 'vh' stand for in CSS?
  • Correct Answer: Viewport Height

Q. 52   Which tag is used for the largest heading?
  • Correct Answer: h1

Q. 53   Which JavaScript method is used to select an element by ID?
  • Correct Answer: getElementById()

Q. 54   Which CSS property is used to align text?
  • Correct Answer: text-align

Q. 55   What does 'text-decoration: underline;' do?
  • Correct Answer: Underlines text

Q. 56   Which CSS property is used to change the text font size?
  • Correct Answer: font-size

Q. 57   Which JavaScript method is used to add an event listener?
  • Correct Answer: addEventListener()

Q. 58   Which CSS property makes an element invisible but still occupies space?
  • Correct Answer: visibility: hidden;

Q. 59   Which HTML tag defines a hyperlink?
  • Correct Answer: <a>

Q. 60   What is the primary purpose of the <meta> tag in HTML?
  • Correct Answer: SEO & page metadata

Q. 61   What does 'object-fit: cover;' do in CSS?
  • Correct Answer: Scales image to fill container

Q. 62   Which JavaScript method is used to execute code after a delay?
  • Correct Answer: setTimeout()

Q. 63   What is the purpose of 'display: flex;'?
  • Correct Answer: Creates a flexible layout

Q. 64   Which CSS property changes the width of an element?
  • Correct Answer: width

Q. 65   Which JavaScript operator is used for strict comparison?
  • Correct Answer: ===

Q. 66   Which CSS property changes the mouse cursor style?
  • Correct Answer: cursor

Q. 67   Which tag is used for adding an icon in an HTML page?
  • Correct Answer: <link>

Q. 68   What does 'max-width: 100%;' do in CSS?
  • Correct Answer: Both A & B

Q. 69   Which CSS property is used to create a shadow effect?
  • Correct Answer: box-shadow

Q. 70   Which JavaScript function is used to remove white spaces?
  • Correct Answer: trim()

Q. 71   Which of the following is used to add comments in HTML?
  • Correct Answer: <!-- comment -->

Q. 72   Which JavaScript method is used to convert a string into an integer?
  • Correct Answer: parseInt()

Q. 73   Which of the following is not a valid CSS unit?
  • Correct Answer: dp

Q. 74   What does 'position: fixed;' do in CSS?
  • Correct Answer: Fixes an element relative to viewport

Q. 75   Which CSS property controls the space inside an element?
  • Correct Answer: padding

Q. 76   Which tag is used for creating a form in HTML?
  • Correct Answer: <form>

Q. 77   Which CSS property is used to create animations?
  • Correct Answer: animation

Q. 78   Which of the following is not a valid JavaScript data type?
  • Correct Answer: Character

Q. 79   Which function is used to print messages in the browser console?
  • Correct Answer: console.log()

Q. 80   What is the default display property of a <span> element?
  • Correct Answer: inline

Q. 81   Which HTML tag is used for displaying preformatted text?
  • Correct Answer: <pre>

Q. 82   Which CSS property is used to make text uppercase?
  • Correct Answer: text-transform

Q. 83   What does 'grid-template-columns' define in CSS Grid?
  • Correct Answer: Column structure of a grid

Q. 84   Which JavaScript keyword is used to declare a variable?
  • Correct Answer: All of the above

Q. 85   Which JavaScript method is used to remove the last element from an array?
  • Correct Answer: pop()

Q. 86   What is the correct syntax for writing an arrow function in JavaScript?
  • Correct Answer: () => {}

Q. 87   Which of the following CSS properties is used to control the transparency of an element?
  • Correct Answer: opacity

Q. 88   Which HTML tag is used for embedding a video?
  • Correct Answer: <video>

Q. 89   Which CSS property is used to create a gradient background?
  • Correct Answer: background-image

Q. 90   Which JavaScript operator is used for concatenation of strings?
  • Correct Answer: +

Q. 91   Which event is fired when a user clicks on an HTML element?
  • Correct Answer: onclick

Q. 92   What does 'overflow: scroll;' do in CSS?
  • Correct Answer: Adds a scrollbar if needed

Q. 93   Which JavaScript function is used to check the type of a variable?
  • Correct Answer: typeof

Q. 94   Which HTML tag is used to define an unordered list?
  • Correct Answer: <ul>

Q. 95   Which of the following is used to apply styles in HTML?
  • Correct Answer: CSS

Q. 96   Which CSS property is used to set the background color of an element?
  • Correct Answer: background-color

Q. 97   Which of the following is a valid CSS selector?
  • Correct Answer: All of the above

Q. 98   Which of the following is not a valid JavaScript loop?
  • Correct Answer: repeat

Q. 99   Which attribute is used to specify that an input field must be filled out?
  • Correct Answer: required

Q. 100   Which CSS property is used to align text?
  • Correct Answer: text-align

Q. 101   Which function is used to join two strings in JavaScript?
  • Correct Answer: concat()

Q. 102   Which of the following is not a valid JavaScript variable name?
  • Correct Answer: 123var

Q. 103   Which HTML tag is used for the largest heading?
  • Correct Answer: <h1>

Q. 104   Which CSS property is used to change the font size of text?
  • Correct Answer: font-size

Q. 105   Which JavaScript method is used to find the length of an array?
  • Correct Answer: length

Q. 106   Which of the following is not a valid HTML element?
  • Correct Answer: <navigation>

Q. 107   Which JavaScript method is used to round a number to the nearest integer?
  • Correct Answer: Math.round()

Q. 108   Which HTML attribute is used to define inline styles?
  • Correct Answer: style

Q. 109   Which CSS property is used to create space around elements?
  • Correct Answer: margin

Q. 110   Which event is triggered when the user moves the mouse over an element?
  • Correct Answer: onmouseover

Q. 111   Which of the following is a JavaScript framework?
  • Correct Answer: React

Q. 112   Which HTML tag is used to define a hyperlink?
  • Correct Answer: <a>

Q. 113   Which CSS property is used to make text bold?
  • Correct Answer: font-weight

Q. 114   Which of the following is used to create a responsive web design?
  • Correct Answer: All of the above

Q. 115   Which of the following is used to add interactivity to a webpage?
  • Correct Answer: JavaScript

Q. 116   Which function is used to display an alert box in JavaScript?
  • Correct Answer: alert()

Q. 117   Which HTML attribute is used to specify an image source?
  • Correct Answer: src

Q. 118   Which CSS property is used to control the width of an element?
  • Correct Answer: width

Q. 119   Which HTML tag is used for a line break?
  • Correct Answer: <br>

Q. 120   Which CSS property controls the transparency of an element?
  • Correct Answer: opacity

Q. 121   What is the default position of an HTML element?
  • Correct Answer: static

Q. 122   Which JavaScript keyword is used to declare a variable?
  • Correct Answer: All of the above

Q. 123   Which of the following is NOT a valid CSS unit?
  • Correct Answer: ptx

Q. 124   Which function is used to parse a string into an integer in JavaScript?
  • Correct Answer: parseInt()

Q. 125   Which CSS property is used to change text color?
  • Correct Answer: color

Q. 126   What does JSON stand for?
  • Correct Answer: JavaScript Object Notation

Q. 127   Which of the following is a CSS preprocessor?
  • Correct Answer: SASS

Q. 128   Which tag is used to define a navigation menu in HTML5?
  • Correct Answer: <nav>

Q. 129   Which JavaScript function is used to change the content of an element?
  • Correct Answer: innerHTML

Q. 130   Which CSS property is used to make a website mobile-friendly?
  • Correct Answer: media queries

Q. 131   Which event is triggered when a user clicks on an HTML element?
  • Correct Answer: onclick

Q. 132   Which JavaScript function is used to convert a JSON string into an object?
  • Correct Answer: JSON.parse()

Q. 133   Which of the following is used to store data in the browser for a longer duration?
  • Correct Answer: localStorage

Q. 134   Which CSS property is used to add rounded corners?
  • Correct Answer: border-radius

Q. 135   Which method is used to remove an element from an array in JavaScript?
  • Correct Answer: splice()

Q. 136   Which CSS property is used to make an element stick to the top when scrolling?
  • Correct Answer: position: sticky

Q. 137   Which attribute is used to specify alternative text for an image?
  • Correct Answer: alt

Q. 138   Which of the following is a valid way to create a function in JavaScript?
  • Correct Answer: All of the above

Q. 139   Which HTML tag is used for embedding a video?
  • Correct Answer: <video>

Q. 140   Which JavaScript method is used to add a new element at the end of an array?
  • Correct Answer: push()

Q. 141   Which of the following is used to test mobile responsiveness?
  • Correct Answer: Chrome DevTools

shape
shape
shape
shape
thumb

Have Questions? Let's Connect & Elevate Your Skills!