Unlimited Online Free Software Download! Get 100% Free Hurry up!
Q. 1   Which database is commonly used with Node.js applications?
  • Correct Answer: D. All of the above

Q. 2   What is the 16-bit compiler allowable range for integer constants ?
  • Correct Answer: D. -32768 to 32767

Q. 3   What is required in each C program ?
  • Correct Answer: A. The program must have at least one function.

Q. 4   Which of the following comment is correct when a macro definition includes arguments ?
  • Correct Answer: A. The opening parenthesis should immediately follow the macro name.

Q. 5   What is a lint ?
  • Correct Answer: C. Analyzing tool

Q. 6   What is the output of this statement ''printf(''%d'', (a++))'' ?
  • Correct Answer: B. The current value of a

Q. 7   Why is a macro used in place of a function ?
  • Correct Answer: A. It reduces execution time.

Q. 8   In the C language, the constant is defined _______.
  • Correct Answer: C. Anywhere, but starting on a new line.

Q. 9   A pointer is a memory address. Suppose the pointer variable has p address 1000, and that p is declared to have type int*, and an int is 4 bytes long. What address is represented by expression p + 2 ?
  • Correct Answer: D. 1008

Q. 10   Which one of the following is a loop construct that will always be executed once ?
  • Correct Answer: D. do while

Q. 11   How many characters can a string hold when declared as follows ? char name[20]:
  • Correct Answer: C. 20 char

Q. 12   Directives are translated by the
  • Correct Answer: A. Pre-processor

Q. 13   How many bytes does **int = D** use ?
  • Correct Answer: C. 2 or 4 bytes

Q. 14   What is the maximum number of characters that can be held in the string variable char address line [40] ?
  • Correct Answer: B. 39 characters

Q. 15   Which one is the correct description for the variable balance declared below ? int ** balance;
  • Correct Answer: B. Balance is a pointer to a pointer to an integer

Q. 16   Which of the following statement is not true ?
  • Correct Answer: B. A pointer must point to a data item on the heap (free store).

Q. 17   Let p1 be an integer pointer with a current value of 2000. What is the content of p1 after the expression p1++ has been evaluated ?
  • Correct Answer: C. 2004 value

Q. 18   Let p1 and p2 be integer pointers. Which one is a syntactically wrong statement ?
  • Correct Answer: A. p1 = p1 + p2;

Q. 19   Suppose that cPtr is a character pointer, and its current content is 300. What will be the new value in cPtr after the following assignment ? cPtr = cPtr + 5;
  • Correct Answer: A. value 305

Q. 20   Which is valid expression in C language ?
  • Correct Answer: B. int my_num = 100000;

Q. 21   Who is the father of C language ?
  • Correct Answer: C. Dennis Ritchie

Q. 22   All keywords in C are in ____________
  • Correct Answer: A. LowerCase letters

Q. 23   Which of the following is true for variable names in C ?
  • Correct Answer: C. Variable names cannot start with a digit

Q. 24   Which of the following cannot be a variable name in C ?
  • Correct Answer: A. volatile

Q. 25   Which of the following declaration is not supported by C language ?
  • Correct Answer: A. String str;

Q. 26   Which keyword is used to prevent any changes in the variable within a C program ?
  • Correct Answer: C. const

Q. 27   What is the result of logical or relational expression in C ?
  • Correct Answer: B. 0 or 1

Q. 28   Where in C the order of precedence of operators do not exist ?
  • Correct Answer: D. None of the mentioned

Q. 29   What is an example of iteration in C ?
  • Correct Answer: D. all of the mentioned

Q. 30   Functions can return enumeration constants in C ?
  • Correct Answer: A. true

Q. 31   Functions in C Language are always _________
  • Correct Answer: B. External

Q. 32   Which of following is not accepted in C ?
  • Correct Answer: C. static static int a; //a static variable prefixed with static

Q. 33   Property which allows to produce different executable for different platforms in C is called ?
  • Correct Answer: C. Conditional compilation

Q. 34   What is #include ?
  • Correct Answer: A. Preprocessor directive

Q. 35   C preprocessors can have compiler specific features.
  • Correct Answer: A. True

Q. 36   The C-preprocessors are specified with _________ symbol.
  • Correct Answer: A. #

Q. 37   How many number of pointer (*) does C have against a pointer variable declaration ?
  • Correct Answer: D. No limits

Q. 38   Which of the following is not possible statically in C language ?
  • Correct Answer: A. Jagged Array

Q. 39   which of the following return-type cannot be used for a function in C ?
  • Correct Answer: D. none of the mentioned

Q. 40   When a C program is started, O.S environment is responsible for opening file and providing pointer for that file ?
  • Correct Answer: D. All of the mentioned

Q. 41   In C language, FILE is of which data type ?
  • Correct Answer: C. struct

Q. 42   What is the sizeof(char) in a 32-bit C compiler ?
  • Correct Answer: C. 1 Byte

Q. 43   scanf() is a predefined function in______header file.
  • Correct Answer: C. stdio. h

Q. 44   C Language develop at‌‌‌‌______?
  • Correct Answer: A. AT & T's Bell Laboratories of USA in 1972

Q. 45   C programs are convert into machine language with help of
  • Correct Answer: B. A compiler

Q. 46   C was primarily Developed as
  • Correct Answer: A. System programming language

Q. 47   Standard ANSI C recongnizes________number of keyboards ?
  • Correct Answer: B. 32 keywords

Q. 48   C Language is a successor to which language ?
  • Correct Answer: D. B Language

Q. 49   C is a which level language ?
  • Correct Answer: B. High Level

Q. 50   Low level language is ?
  • Correct Answer: D. Difficult to understand and readability is questionable.

Q. 51   High level language is a ?
  • Correct Answer: A. Human readable like language.

Q. 52   C is _______ type of programming language ?
  • Correct Answer: B. Procedural

Q. 53   Who invented C++ ?
  • Correct Answer: D. Bjarne Stroustrup

Q. 54   Which of the following is used for comments in C++ ?
  • Correct Answer: D. both // comment or /* comment */

Q. 55   Which of the following is not a type of Constructor in C++ ?
  • Correct Answer: B. Friend constructor

Q. 56   Which of the following type is provided by C++ but not C ?
  • Correct Answer: C. bool

Q. 57   Which of the following correctly declares an array in C++ ?
  • Correct Answer: B. int array[10];

Q. 58   What is Inheritance in C++ ?
  • Correct Answer: A. Deriving new classes from existing classes

Q. 59   What is meant by a polymorphism in C++ ?
  • Correct Answer: B. class having many forms

Q. 60   What is abstract class in C++ ?
  • Correct Answer: C. Class specifically used as a base class with atleast one pure virtual functions

Q. 61   Which of the following constructors are provided by the C++ compiler if not defined in a class ?
  • Correct Answer: C. Default constructor

Q. 62   The operator used for dereferencing or indirection is ____
  • Correct Answer: A. *

Q. 63   What will happen in the following C++ code snippet ?
1. int a = 100, b = 200;
2. int *p = &a, *q = &b;
3. p = q;
  • Correct Answer: B. p now points to b

Q. 64   Which operator is used to signify the namespace ?
  • Correct Answer: C. scope-resolution operator

Q. 65   What does a class in C++ holds ?
  • Correct Answer: C. both data & functions

Q. 66   Which other keywords are also used to declare the class?
  • Correct Answer: A. class

Q. 67   The data members and functions of a class in C++ are by default ____________
  • Correct Answer: B. private

Q. 68   Constructors are used to ____________
  • Correct Answer: A. initialize the objects

Q. 69   Which of these following members are not accessed by using direct member access operator ?
  • Correct Answer: D. both private & protected

Q. 70   How many objects can present in a single class ?
  • Correct Answer: D. as many as possible

Q. 71   Which special character is used to mark the end of class ?
  • Correct Answer: A. ;

Q. 72   Which of the following operators can't be overloaded ?
  • Correct Answer: A. ::

Q. 73   Which keyword is used to represent a friend function ?
  • Correct Answer: A. friend

Q. 74   What is a friend function in C++ ?
  • Correct Answer: A. A function which can access all the private, protected and public members of a class

Q. 75   What is a function template ?
  • Correct Answer: A. creating a function without having to specify the exact type

Q. 76   What is the syntax of class template ?
  • Correct Answer: A. template <paramaters> class declaration

Q. 77   What is meant by multiple inheritance ?
  • Correct Answer: C. Deriving a derived class from more than one base class

Q. 78   Which of the following is the correct syntax to print the message in C++ language ?
  • Correct Answer: A. cout <<"Hello world!";

Q. 79   Which of the following is the address operator ?
  • Correct Answer: C. &

Q. 80   For inserting a new line in C++ program, which one of the following statements can be used ?
  • Correct Answer: A. \n

Q. 81   Which of the following refers to characteristics of an array ?
  • Correct Answer: A. An array is a set of similar data items

Q. 82   If we stored five elements or data items in an array, what will be the index address or the index number of the array's last data item ?
  • Correct Answer: B. 4 number

Q. 83   Wrapping data and its related functionality into a single entity is known as _____________
  • Correct Answer: B. Encapsulation

Q. 84   How many types of polymorphism are there in C++ ?
  • Correct Answer: B. 2 types

Q. 85   Which of the following is not a type of inheritance ?
  • Correct Answer: B. Distributive

Q. 86   Which of the following is called insertion operator ?
  • Correct Answer: A. <<

Q. 87   Which of the following is called extraction operator ?
  • Correct Answer: B. >>

Q. 88   What is the size of a boolean variable in C++ ?
  • Correct Answer: A. 1 bit

Q. 89   Which of the following is C++ equivalent for scanf() ?
  • Correct Answer: A. cin

Q. 90   Which of the following is the scope resolution operator ?
  • Correct Answer: C. ::

Q. 91   What is std in C++ ?
  • Correct Answer: B. std is a standard namespace in C++

Q. 92   Which of the following accesses the seventh element stored in array ?
  • Correct Answer: A. array[6];

Q. 93   What do vectors represent ?
  • Correct Answer: B. Dynamic arrays

Q. 94   Where does the execution of c++ program starts ?
  • Correct Answer: B. main() function

Q. 95   Which of the following correctly declares an array ?
  • Correct Answer: A. int array[10];

Q. 96   Which data type is used to represent the absence of parameters ?
  • Correct Answer: B. void

Q. 97   The value 132.54 can be represented using which data type ?
  • Correct Answer: A. float

Q. 98   What is syntax of defining a constructor of class A ?
  • Correct Answer: C. A()

Q. 99   There are ___ levels of heading in HTML
  • Correct Answer: D. Six

Q. 100   The following html tag is used to display the content as a moving text
  • Correct Answer:

Q. 101   html comment should be enclosed between
  • Correct Answer: A. <!-- and -->

Q. 102   _____ tag is used before beginning of the paragraph text
  • Correct Answer: C. <p>

Q. 103   Example of picture editing software is
  • Correct Answer: B. photoshop

Q. 104   html document have a extension ______
  • Correct Answer: B. .htm or .html

Q. 105   The _____ element can be used to identify your html file to the outside world
  • Correct Answer: D. html

Q. 106   Which of the following is true
  • Correct Answer: C. Unordered list starts with <UL> and ends with </UL>

Q. 107   Which of the following is true?
  • Correct Answer: A. BR tag is used to have a blank line

Q. 108   to get the ordered list we use
  • Correct Answer: C. <OL>

Q. 109   HTML is the method where ordinary text can be converted into
  • Correct Answer: D. None of the above

Q. 110   WWW stands for
  • Correct Answer: C. world wide web

Q. 111   The CSS property used to control the element’s font-size is__________
  • Correct Answer: D. None

Q. 112   The HTML attribute used to define the internal stylesheet is___________
  • Correct Answer: B. <style>

Q. 113   Which of the following CSS property is used to set the background image of an element?
  • Correct Answer: C. background-image

Q. 114   Which of the following is the correct syntax to display the hyperlinks without any underline?
  • Correct Answer: C. a {text-decoration : none;}

Q. 115   Which of the following is the correct syntax to make the background-color of all paragraph elements to yellow?
  • Correct Answer: C. p {background-color : yellow;}

Q. 116   Which of the following property is used as the shorthand property for the padding properties?
  • Correct Answer: C. padding

Q. 117   The CSS property used to make the text bold is___________
  • Correct Answer: B. font-weight : bold

Q. 118   The property in CSS used to change the background color of an element is_____________
  • Correct Answer: A. background-color

Q. 119   Which of the following is the correct syntax for referring the external style sheet?
  • Correct Answer: D. <link rel=“stylesheet” type=“text/css” href=“example.css”>

Q. 120   The HTML attribute used to define the inline styles is___________
  • Correct Answer: C. style

Q. 121   The CSS property used to draw a line around the elements outside the border?
  • Correct Answer: D. outline

Q. 122   Which of the following CSS property is used to specify the space between every letter inside an element?
  • Correct Answer: C. letter-spacing

Q. 123   The CSS property used to make the rounded borders, or rounded corners around an element is________
  • Correct Answer: A. border-radius

Q. 124   The CSS property used to specify the transparency of an element is____________
  • Correct Answer: D. opacity

Q. 125   Which of the following property is used as the shorthand property of margin properties?
  • Correct Answer: C. margin

Q. 126   The CSS property used to set the distance between the borders of the adjacent cells in the table is__________
  • Correct Answer: B. border-spacing

Q. 127   Are the negative values allowed in padding property?
  • Correct Answer: A. No

Q. 128   What are the valid values of font-style property?
  • Correct Answer: D. inherit, italic, normal, oblique

Q. 129   Which CSS property is used to specify uppercase and lowercase letters in a text?
  • Correct Answer: A. text-transform

Q. 130   In how many ways can CSS be added to HTML?
  • Correct Answer: C. Three

Q. 131   Which selector do we use to specify the rule for binding some particular unique element?
  • Correct Answer: D. id

Q. 132   Internal styles are written within the _____ element.
  • Correct Answer: A. <style>…</style>

Q. 133   HTML is what type of language ?
  • Correct Answer: B. Markup Language

Q. 134   Which HTML tag produces the biggest heading?
  • Correct Answer: D. <h1>

Q. 135   Which is correct?
  • Correct Answer: C. <b>Click Here</b>

Q. 136   To create a link to an anchor, you use the______property in A tag.
  • Correct Answer: D. Href

Q. 137   The page title is inside the____tag.
  • Correct Answer: B. Head

Q. 138   <UL>...</UL> tag is used to ________
  • Correct Answer: C. display the bulleted list

Q. 139   <TD>...</TD> tag is used to ________
  • Correct Answer:

Q. 140   Which tag is used to create body text in HTML?
  • Correct Answer: D. <BODY>

Q. 141   Which plugin is used to cycle through elements, like a slideshow?
  • Correct Answer: D. carousel

Q. 142   Which plugin is used to create a modal window?
  • Correct Answer: A. modal

Q. 143   Which plugin is used to create a tooltip?
  • Correct Answer: B. tooltip

Q. 144   Bootstrap’s grid system allows up to
  • Correct Answer: B. 12 columns across the page

Q. 145   Which class should be used to indicate a button group?
  • Correct Answer: B. btn-group

Q. 146   Which of the following bootstrap styles of buttons can be used to make the size of the button small?
  • Correct Answer: B. .btn-sm

Q. 147   How many Container class are there in Bootstrap?
  • Correct Answer: B. Two

Q. 148   The _________ class is used to right-align navigation bar buttons.
  • Correct Answer: C. .navbar-right

Q. 149   Which class is used to add buttons inside the navigation bar?
  • Correct Answer: B. .navbar-btn

Q. 150   Bootstrap is developed by
  • Correct Answer: C. Mark Otto and Jacob Thornton

Q. 151   Which of the following bootstrap style is used to add standard links to .navbar?
  • Correct Answer: A. navbar-link

Q. 152   How do you insert a comment in a CSS file?
  • Correct Answer: B. /* this is a comment */

Q. 153   How do you change the left margin of an element?
  • Correct Answer: C. margin-left:

Q. 154   Interpret this statement: <strong>Michelle</strong>
  • Correct Answer: C. It will print out Michelle in bold font

Q. 155   What is the tag for an inline frame?
  • Correct Answer: A. Iframe

Q. 156   Which of the following class in bootstrap is used to create a big box for calling extra attention?
  • Correct Answer: D. .jumbotron

Q. 157   Which of the following class in Bootstrap is used to create a basic list group?
  • Correct Answer: C. .list-group

Q. 158   Which of the following class in Bootstrap is used to create basic pagination?
  • Correct Answer: D. .pagination

Q. 159   Which of the following class in Bootstrap is used to create a badge?
  • Correct Answer: B. .badge

Q. 160   The class in Bootstrap which is used to specify the collapsible elements is -
  • Correct Answer: A. .collapse

Q. 161   Which of the following class in Bootstrap is used for creating the large size modals?
  • Correct Answer: D. .modal-lg

Q. 162   Which of the following is correct method to add a success button?
  • Correct Answer: A. <button class = "btn btn-success"> success </button>

Q. 163   Which of the following class in Bootstrap is used to create a label?
  • Correct Answer: A. .label

Q. 164   Which of the following is correct about the Bootstrap Grid system?
  • Correct Answer: C. Both (a) and (b)

Q. 165   Which of the following class in Bootstrap is used to style a table with borders surrounding every element?
  • Correct Answer: B. .table-bordered

Q. 166   Which of the following class in Bootstrap is used to style a table with a light gray background to rows when the user moves the cursor over them?
  • Correct Answer: D. .table-hover

Q. 167   In the below code snippet, in what order will the margins be added ? p { margin: 25px 50px 75px 100px; }
  • Correct Answer: A. Top, Right, Bottom, Left,

Q. 168   Which of the following class in Bootstrap is used to provide a responsive fixed width container ?
  • Correct Answer: C. .container

Q. 169   How can we select an element with a specific ID in CSS ?
  • Correct Answer: A. #

Q. 170   What type of CSS is generally recommended for designing large web pages ?
  • Correct Answer: C. External

Q. 171   What type of CSS is the following code snippet ? <h1 style = "color:blue;" >A Blue Heading </h1>
  • Correct Answer: A. Inline

Q. 172   How many columns are allowed in a bootstrap grid system ?
  • Correct Answer: B. 12 columns

Q. 173   Which HTML tag is used to declare internal CSS ?
  • Correct Answer: A. <style>

Q. 174   What are the attributes used to change the size of an image ?
  • Correct Answer: A. Width and height

Q. 175   We enclose HTML tags within ?
  • Correct Answer: A. < >

Q. 176   Which of the following tags doesn't require a closing tag ?
  • Correct Answer: C. Both the <hr> and the <br> tag

Q. 177   Which property is used to define the font of the element's text?
  • Correct Answer: B. font-family

Q. 178   Which is the correct inline CSS for p tag to define paragrap's text and background colors?
  • Correct Answer: D. <p style="color: red; background-color: yellow;">

Q. 179   What does the abbreviation HTML stand for?
  • Correct Answer: A. Hyper Text Markup Language.

Q. 180   What is the smallest header in HTML by default?
  • Correct Answer: D. h6

Q. 181   What are the types of lists available in HTML?
  • Correct Answer: A. Ordered, Unordered Lists.

Q. 182   HTML files are saved by default with the extension?
  • Correct Answer: A. .html

Q. 183   We enclose HTML tags within?
  • Correct Answer: B. <>

Q. 184   What is the effect of the tag?
  • Correct Answer: A. It converts the text within it to bold font.

Q. 185   Which of the following is correct about HTML?
  • Correct Answer: B. HTML uses tags defined within the language.

Q. 186   How to display preformatted text in HTML?
  • Correct Answer: C. <pre>

Q. 187   What is meant by an empty tag in HTML?
  • Correct Answer: B. An empty tag does not require a closing tag

Q. 188   Which attribute is used to provide a unique name to an HTML element?
  • Correct Answer: A. id

Q. 189   What is the function of the HTML style attribute?
  • Correct Answer: A. It is used to add styles to an HTML element.

Q. 190   Which of the following is the correct syntax for using the HTML style attribute?
  • Correct Answer: A. <tagname style "property: value;" >

Q. 191   Which HTML element is used to define description data?
  • Correct Answer: D. <dd>

Q. 192   Which of the following properties is used to change the font of text?
  • Correct Answer: A. font-family

Q. 193   How are quotations defined in HTML?
  • Correct Answer: C. <blockquote >

Q. 194   What tag is used to render an image on a webpage?
  • Correct Answer: A. img

Q. 195   Apart from <i> tag, which of the following tag is used to render a text in italics?
  • Correct Answer: B. <em>

Q. 196   Colors are defined in HTML using?
  • Correct Answer: D. All of the above

Q. 197   Which property is used to set colors in HTML?
  • Correct Answer: A. color

Q. 198   What are the types of unordered lists in HTML?
  • Correct Answer: A. Circle, square, disc.

Q. 199   Which property is used to set border colors in HTML?
  • Correct Answer: B. border

Q. 200   Which of the following things are necessary to create an HTML page?
  • Correct Answer: C. Both A and B

Q. 201   Which HTML tag is called the root element of an HTML document?
  • Correct Answer: A. <html>

Q. 202   How is black color represented in terms of RGB values?
  • Correct Answer: A. RGB(O, O, 0)

Q. 203   What does the Alpha value in RGBA represent?
  • Correct Answer: A. Opacity value for a color.

Q. 204   What does the Alpha value of 0.0 represent?
  • Correct Answer: B. Fully Transparent.

Q. 205   How to set a font for a whole page?
  • Correct Answer: B. <defaultfont>

Q. 206   Which function is used to open a file in C?
  • Correct Answer: B. fopen()

Q. 207   Which is the correct syntax to declare a file pointer in C?
  • Correct Answer: B. FILE *file_pointer;

Q. 208   Header files ___.
  • Correct Answer: D. All of these

Q. 209   The sqrt() function is used to calculate which value?
  • Correct Answer: C. Square root

Q. 210   A recursive function in C ___.
  • Correct Answer: A. Call itself again and again

Q. 211   Before using a pointer variable, it should be ___.
  • Correct Answer: C. Both A. and B.

Q. 212   A ___ can be assigned the address of any data type.
  • Correct Answer: C. Void pointer

Q. 213   Before using a pointer variable, it should be ___.
  • Correct Answer: C. Both A. and B.

Q. 214   Which of the following is the collection of different data types?
  • Correct Answer: A. structure

Q. 215   The size of a union is ___.
  • Correct Answer: C. Equal to size of largest data type

Q. 216   Which feature of OOPS described the reusability of code?
  • Correct Answer: D. Inheritance

Q. 217   A single program of OOPS contains _______ classes?
  • Correct Answer: D. Any number

Q. 218   Which operator from the following can be used to illustrate the feature of polymorphism?
  • Correct Answer: A. Overloading <<

Q. 219   Which header file is required by the C++ programming language to use the OOPS concept?
  • Correct Answer: D. We can easily use the OOPS concepts in c++ programs without using any header file

Q. 220   Which function best describe the concept of polymorphism in programming languages?
  • Correct Answer: B. Virtual function

Q. 221   Which of the following feature is also known as run-time binding or late binding?
  • Correct Answer: C. Dynamic binding

Q. 222   Which HTML tag is used to set up a Javascript–like client?
  • Correct Answer: A. <script>

Q. 223   What are the main components of the front end of any working website?
  • Correct Answer: A. HTML, CSS, Javascript.

Q. 224   What is the select tag used for?
  • Correct Answer: A. Creates a combo box.

Q. 225   The most basic part of any HTML page is?
  • Correct Answer: A. ASCII Text

Q. 226   What are those objects called which are used for storing data on the client provided by the HTML local storage?
  • Correct Answer: C. Both A and B

Q. 227   The default value of the BORDER attribute is?
  • Correct Answer: A. 1 pixel

Q. 228   What are some valid character sets available?
  • Correct Answer: D. All of the above

Q. 229   How many characters can be written in I KB?
  • Correct Answer: B. 1024

Q. 230   Which of the following are examples of block–level elements in HTML?
  • Correct Answer: D. All of the above

Q. 231   What are the properties of block-level elements?
  • Correct Answer: D. All of the above.

Q. 232   If a background image is smaller than the screen on which it is being displayed, what will occur on the webpage?
  • Correct Answer: B. The image will be repeated

Q. 233   Which property allows an image link to show a text label?
  • Correct Answer: A. alt

Q. 234   What is CSS stands for in Webdesign?
  • Correct Answer: A. Cascading Style Sheets

Q. 235   What CSS describes?
  • Correct Answer: B. CSS describes how HTML elements are to be displayed on screen, paper, or in other media

Q. 236   What is a CSS selector?
  • Correct Answer: D. A CSS selector is the first part of a CSS Rule. It may an HTML element or pattern of elements.

Q. 237   In a CSS file, there is a CSS rule for paragraphs tags — what does p can be called?
  • Correct Answer: A. Selector

Q. 238   Internal styles are written within the element.
  • Correct Answer: A. <style>...</style>

Q. 239   Inline styles are written within the attribute.
  • Correct Answer: A. style

Q. 240   CSS comments are placed within the
  • Correct Answer: B. /* and */

Q. 241   Can comments also span multiple lines?
  • Correct Answer: A. Yes

Q. 242   Which property is used to define the text color?
  • Correct Answer: B. color

Q. 243   Which property is used to define the background color?
  • Correct Answer: D. Both A. and C.

Q. 244   From the given options which is/are the valid way to represent a color?
  • Correct Answer: D. All of the above

Q. 245   Which property is used to define the font of the element is text?
  • Correct Answer: B. font-family

Q. 246   To make a text italic, which CSS property is used?
  • Correct Answer: C. font-style

Q. 247   Why font-weight property is used?
  • Correct Answer: A. Sets how thick or thin characters in text should be displayed.

Q. 248   What is/are the correct value(s) of font-weight property?
  • Correct Answer: C. normal, bold, bolder, lighter, initial, and inherit

Q. 249   What is the correct syntax of border property in CSS?
  • Correct Answer: A. border: border-width border-style border-color

Q. 250   Which of the following is the correct syntax to remove the underline on hyperlinks and visited hyperlinks?
  • Correct Answer: C. a {text-decoration : none;}, a:visited {text-decoration : none;}

Q. 251   Which CSS property is used to style the hyperlinks on hover (Mouse over)?
  • Correct Answer: D. a:hover

Q. 252   If you want to use a green dotted border around an image, which CSS property is used for that?
  • Correct Answer: D. Both A. and B.

Q. 253   Which CSS property and value is used to center an element?
  • Correct Answer: A. text-align:center

Q. 254   What are the valid values of text-align property?
  • Correct Answer: C. left, center, right, justify

Q. 255   What is the use of "text-align:justify" in CSS?
  • Correct Answer: A. Stretches the lines so that each line has equal width

Q. 256   Which CSS property is used to specify the indentation of the first line of a text?
  • Correct Answer: C. text-indent

Q. 257   Which CSS property is used to specify the space between the characters in a text?
  • Correct Answer: C. letter-spacing

Q. 258   Which CSS property is used to specify the space between lines?
  • Correct Answer: D. line-height

Q. 259   Which CSS property is used to specify the space between the words in a text?
  • Correct Answer: A. word-spacing

Q. 260   Which CSS property adds shadow to text?
  • Correct Answer: B. text-shadow

Q. 261   Which is the correct CSS statement to capitalize the first letter of each word?
  • Correct Answer: B. text-transform: capitalize

Q. 262   What are the valid values of text-transform property?
  • Correct Answer: A. uppercase, lowercase, and capitalize

Q. 263   What are the valid values of "text-decoration" property?
  • Correct Answer: A. overline, line-through, underline, and none

Q. 264   Which CSS property specifies how to align the last line of a text?
  • Correct Answer: D. text-align-last

Q. 265   Which CSS property sets the vertical alignment of an element?
  • Correct Answer: A. vertical-align

Q. 266   Which CSS property specifies the type of list item marker?
  • Correct Answer: B. list-style-type

Q. 267   Which is the correct CSS statement is used to remove the markers/bullets?
  • Correct Answer: D. list-style-type: none;

Q. 268   Which CSS property specifies an image as the list item marker?
  • Correct Answer: A. list-style-image

Q. 269   Which CSS property specifies if/how an element is displayed?
  • Correct Answer: C. display

Q. 270   HTML elements are positioned by default.
  • Correct Answer: A. static

Q. 271   What are the valid values for "position" property?
  • Correct Answer: D. static, relative, fixed, absolute, and sticky

Q. 272   Which CSS property specifies the opacity/transparency of an element?
  • Correct Answer: B. opacity

Q. 273   Which CSS function performs a calculation to be used as the property value?
  • Correct Answer: C. calc()

Q. 274   Which CSS function uses the largest value?
  • Correct Answer: D. max()

Q. 275   Which CSS function uses the smallest value?
  • Correct Answer: D. min()

Q. 276   What is CSS?
  • Correct Answer: D. All of the above

Q. 277   The <style> in Internal CSS refers to
  • Correct Answer: B. HTML tags

Q. 278   Can we link multiple stylesheets to a single page?
  • Correct Answer: A. Yes

Q. 279   The CSS property used to change text sizes?
  • Correct Answer: B. font-size

Q. 280   In this line of code, identify the selector
p {border: 2px solid blue;}
  • Correct Answer: A. p

Q. 281   How many color names does CSS supports?
  • Correct Answer: A. 140 names

Q. 282   The property is used in the positioning of the background image.
  • Correct Answer: B. background-position

Q. 283   what means 4 times the size of the current font.
  • Correct Answer: D. 4em

Q. 284   Amongst the following browsers, which browser supports almost all the CSS properties?
  • Correct Answer: C. Google Chrome

Q. 285   What is the CSS Entity for the character "#"?
  • Correct Answer: A. 0023

Q. 286   This selector selects all the elements where the parent is a
element.
  • Correct Answer: B. h > p

Q. 287   Which selector selects the markers of list items?
  • Correct Answer: A. ::marker

Q. 288   Which is the most widely used font in customizing web pages?
  • Correct Answer: C. Arial

Q. 289   Which of the following CSS properties are animatable?
  • Correct Answer: B. animation

Q. 290   We can give space between unit and value when assigning length values to CSS properties.
  • Correct Answer: B. False

Q. 291   Which of these units of length is supported by Chrome Version 1.0?
  • Correct Answer: C. px

Q. 292   Which line of code is a must to write to apply CSS Flexbox properties?
  • Correct Answer: A. display: flex;

Q. 293   The default value of justify-content property is
  • Correct Answer: A. flex-start

Q. 294   Which is the correct syntax for adding animation?
  • Correct Answer: B. animation: name duration timing-function

Q. 295   Which line of code specifies playing an animation with the same speed from beginning to the end?
  • Correct Answer: A. div {animation- timing function: linear;)

Q. 296   Which line of code represents a universal selector?
  • Correct Answer: A. *{border: 2px solid red;}

Q. 297   Which of the following properties specify the width of the borders?
  • Correct Answer: D. Both A and C

Q. 298   Is border-image property animatable?
  • Correct Answer: B. No

Q. 299   Which cursor property value indicates that the program is busy?
  • Correct Answer: D. wait

Q. 300   What does this line of code explain? p {display: flex;}
  • Correct Answer: D. All the elements are displayed as an inline flex container

Q. 301   The text-align property defines the alignment of text in an element.
  • Correct Answer: A. horizontal

Q. 302   Does the z-index property accept negative values?
  • Correct Answer: A. Yes

Q. 303   Which CSS property is not supported by the Firefox browser?
  • Correct Answer: D. viewport

Q. 304   Which one is a fallback font?
  • Correct Answer: C. Serif

Q. 305   Where do we store external stylesheets?
  • Correct Answer: A. CSS files

Q. 306   In the given line of code, identify the type of selector used. #Main {background-color: yellow;}
  • Correct Answer: B. CSS id selector

Q. 307   The Hex Code for the white color is
  • Correct Answer: A. #FFFFFF

Q. 308   In CSS, what does HSL stands for?
  • Correct Answer: C. hue, saturation, lightness

Q. 309   Among the following CSS properties, which property is not a shorthand property?
  • Correct Answer: C. display

Q. 310   In this line of code, what is the use of the alt attribute? it is red
  • Correct Answer: D. Both A. and B.

Q. 311   The CSS border property specifies the style, color, and of an element border.
  • Correct Answer: B. width

Q. 312   What does "padding: 50px 20px;" specifies?
  • Correct Answer: D. Both A. and B.

Q. 313   What is the default size for normal text, like paragraphs?
  • Correct Answer: D. 16 px

Q. 314   Which of the following CSS selectors are used to specify a group of elements?
  • Correct Answer: C. class

Q. 315   Which of the following has introduced text, list, box, margin, border, color, and background properties?
  • Correct Answer: C. css

Q. 316   Which of the following CSS framework is used to create a responsive design?
  • Correct Answer: D. bootstrap

Q. 317   Which of the following CSS property is used to make the text bold?
  • Correct Answer: B. font-weight: bold

Q. 318   What will be the output of following CSS code snippet?
hl {color: "greenn ; }
  • Correct Answer: A. nothings happen

Q. 319   Which of the following CSS style property is used to specify an italic text?
  • Correct Answer: C. font-style

Q. 320   What will be the output of following CSS code snippet?

h1 {color: red text-decoration: underline; font-style: italic;}
  • Correct Answer: B. only font-style: italic works

Q. 321   Which of the following are the CSS Extension Prefixes for Webkit?
  • Correct Answer: D. -webkit

Q. 322   Which of the following function defines a linear gradient as a CSS image?
  • Correct Answer: A. linear-gradient()

Q. 323   Which of the following is the correct way to apply CSS Styles?
  • Correct Answer: D. All of the above.

Q. 324   Which of the following CSS property sets the font size of text?
  • Correct Answer: A. font-size

Q. 325   Which of the following is not the property of the CSS box model?
  • Correct Answer: B. color

Q. 326   What will be the output of the following CSS code snippet?

span { border: 1px solid red; outline: green dotted thick; }
  • Correct Answer: C. All span elements will have a outer green dotted border and an inner red border

Q. 327   Which of the following CSS property sets the shadow for a box element?
  • Correct Answer: B. box-shadow

Q. 328   Which of the following CSS property is used to set the color of the text?
  • Correct Answer: D. color

Q. 329   Which of the following CSS Property controls how an element is positioned?
  • Correct Answer: B. position

Q. 330   Which of the following CSS property is used to specify table borders in CSS?
  • Correct Answer: C. border

Q. 331   Which CSS Property Sets A Background Image For An Element?
  • Correct Answer: B. Background - Image

Q. 332   What Should Be The Table Width, so That The Width Of A Table Adjust To The Current Width Of The Browser Window?
  • Correct Answer: B. 100%

Q. 333   When We Write <img src="img.png"> What "img.png" Inside Double Quote Implies?
  • Correct Answer: A. Value

Q. 334   The Default Value Of "position" Attribute Is
  • Correct Answer: D. Static

Q. 335   Who invented css?
  • Correct Answer: A. Hakon Wium Lie

Q. 336   CSS is written in which language?
  • Correct Answer: B. HTML

Q. 337   What is the latest version of css?
  • Correct Answer: C. css 3

Q. 338   how will you make all paragraph elements red in color?
  • Correct Answer: A. p {color: red;}

Q. 339   HTML document start and end with which tag pairs?
  • Correct Answer: C. <HTML> ... </HTML>

Q. 340   <TITLE> ... tag must be within _______
  • Correct Answer: C. Header

Q. 341   Text within ... <STRONG> tag is displayed as _____
  • Correct Answer: A. bold

Q. 342   Which tag is used to display the numbered list?
  • Correct Answer: A. <OL > ... </OL >

Q. 343   <SCRIPT> tag can be placed within____
  • Correct Answer: D. both A and B

Q. 344   using <P>tag will
  • Correct Answer: A. start a new paragraph

Q. 345   <TD > tag is used for ________
  • Correct Answer: B. Table Records and table data

Q. 346   Which HTML Tag will use to scroll a text in web page?
  • Correct Answer: A. < marquee> ... </marquee >

Q. 347   WWW stands for ______.
  • Correct Answer: C. World Wide Web

Q. 348   A homepage is __________.
  • Correct Answer: D. the first page of a website

Q. 349   ____is a document commonly written in Hyper Text Markup Language (HTML) that is accessible through the Internet or other network using an internet browser.
  • Correct Answer: B. Web page

Q. 350   A web page is located using a _____.
  • Correct Answer: B. Uniform Resource Locator

Q. 351   A piece of icon or image on a web page associated with another webpage is called____________.
  • Correct Answer: B. hyperlink

Q. 352   ________ is a collection of web pages.
  • Correct Answer: D. Web site

Q. 353   What is the correct HTML tag for inserting a line break?
  • Correct Answer: A. < br>

Q. 354   Webpage starts with which of the following tag?
  • Correct Answer: A. <html >

Q. 355   JPG sometimes called ________.
  • Correct Answer: A. JPEG

Q. 356   A webpage displays a picture. What tag was used to display that picture?
  • Correct Answer: C. img

Q. 357   < b>tag makes the enclosed text bold. What is other tag to make text bold?
  • Correct Answer: A. <strong >

Q. 358   Tags and text that are not directly displayed on the page are written in _ section.
  • Correct Answer: A. <head>

Q. 359   Which tag inserts a line horizontally on your web page?
  • Correct Answer: A. <hr>

Q. 360   What should be the first tag in any HTML document?
  • Correct Answer: A. <html>

Q. 361   Which tag allows you to add a row in a table?
  • Correct Answer: A. <tr> and </tr>

Q. 362   How can you make an e-mail link?
  • Correct Answer: C. <a href="mailto:xxx@yyy">

Q. 363   Choose the correct HTML tag to make a text italic
  • Correct Answer: A. <i>

Q. 364   To create a combo box (drop down box) which tag will you use?
  • Correct Answer: A. <select>

Q. 365   Which of the following is not a pair tag?
  • Correct Answer: D. <img>

Q. 366   To create HTML document you require.
  • Correct Answer: C. Just a notepad can be used

Q. 367   The special formatting codes in HTML document used to present content are
  • Correct Answer: A. tags

Q. 368   HTML documents are saved in
  • Correct Answer: C. ASCII text

Q. 369   Some tags enclose the text. Those tags are known as
  • Correct Answer: D. Pair tags

Q. 370   In HTML document the tags
  • Correct Answer: D. can be written in both uppercase or lowercase

Q. 371   Marquee is a tag in HTML to
  • Correct Answer: C. Display text with scrolling effect

Q. 372   To create a blank line in your web page
  • Correct Answer: C. insert < BR > tag

Q. 373   The way the browser displays the object can be modified by _____
  • Correct Answer: A. attributes

Q. 374   Which of the following HTML code is valid?
  • Correct Answer: D. None of the above.

Q. 375   Which of the following is an attribute related to font tag?
  • Correct Answer: D. All of the above

Q. 376   HTML supports
  • Correct Answer: D. both type of lists

Q. 377   What tag is used to list individual items of an ordered list?
  • Correct Answer: A. LI

Q. 378   Which attribute is used withimg tag to display the text if image could not load in browser?
  • Correct Answer: C. alt

Q. 379   Which attribute you’ll use with TD tag to merge two cells horizontally?
  • Correct Answer: C. colspan=2

Q. 380   Which of the following is correct about Bootstrap?
  • Correct Answer: D. All of the above.

Q. 381   Which of the following is correct about Bootstrap?
  • Correct Answer: D. All of the above

Q. 382   Which of the following is a part of Mobile First Strategy of Bootstrap?
  • Correct Answer: D. All of the above.

Q. 383   Which of the following is correct about Bootstrap Grid System?
  • Correct Answer:

Q. 384   Which of the following is correct about Bootstrap Grid System?
  • Correct Answer: D. All of the above.

Q. 385   Which of the following is correct about Bootstrap Media Query?
  • Correct Answer: A. It simply applies some CSS, based on certain conditions set forth. If those conditions are met, the style is applied.

Q. 386   Which of the following is correct about Bootstrap Media Query?
  • Correct Answer: C. Both of the above.

Q. 387   Which of the following is correct about Bootstrap Mobile First Strategy?
  • Correct Answer: D. All of the above.

Q. 388   Which of the following class styles a table as a nice basic table with just some light padding and horizontal dividers?
  • Correct Answer:

Q. 389   Which of the following class styles a table as a nice basic table with stripes on rows?
  • Correct Answer: B. .table-striped

Q. 390   Which of the following class styles a table with borders surrounding every element and rounded corners around the entire table?
  • Correct Answer: C. .table-bordered

Q. 391   Which of the following class styles a table with a light gray background to rows while the cursor hovers over them?
  • Correct Answer: C. .table-hover

Q. 392   Which of the following class applies the hover color to a particular row or cell of a table?
  • Correct Answer: A. .active

Q. 393   Which of the following class indicates a successful or positive action?
  • Correct Answer: C. .success

Q. 394   Which of the following class indicates a warning that might need attention?
  • Correct Answer: D. .warning

Q. 395   Which of the following class indicates a dangerous or potentially negative action?
  • Correct Answer: D. .danger

Q. 396   Which of the following class can be used to create a responsive table?
  • Correct Answer: A. .table-responsive

Q. 397   Which of the following class is required to be added to form tag to make it inline?
  • Correct Answer: B. .form-inline

Q. 398   Which of the following class is required to be added to form tag to make it horizontal?
  • Correct Answer: B. .form-horizontal

Q. 399   Which of the following bootstrap style of button creates a default/ standard button?
  • Correct Answer: A. .btn

Q. 400   Which of the following bootstrap style of button provides extra visual weight and identifies the primary action in a set of buttons?
  • Correct Answer: D. .btn-primary

Q. 401   Which class adds zebra-stripes to a table?
  • Correct Answer: D. .table-striped

Q. 402   Which class shapes an image to a circle?
  • Correct Answer: C. .rounded-circle

Q. 403   Which class is used to create a big box for calling extra attention?
  • Correct Answer: B. .jumbotron

Q. 404   Which button class is used to create a large button?
  • Correct Answer: A. .btn-lg

Q. 405   Which class is used to create a button group?
  • Correct Answer: A. .btn-group

Q. 406   Which class is used to create a badge?
  • Correct Answer: D. .badge

Q. 407   Which class is used to create a loader?
  • Correct Answer: C. .spinner-border

Q. 408   Which class is used to create a basic pagination?
  • Correct Answer: C. .pagination

Q. 409   Which class is used to create a basic list group?
  • Correct Answer: B. .list-group

Q. 410   Which class adds a heading to a card?
  • Correct Answer: D. .card-header

Q. 411   Which class indicates a dropdown menu?
  • Correct Answer: B. .dropdown

Q. 412   A standard navigation bar is created with:
  • Correct Answer: D. < nav class= "navbar navbar-expand-md " >

Q. 413   Which component is used to cycle through elements, like a slideshow?
  • Correct Answer: C. Carousel

Q. 414   Which attribute is used to create a tooltip?
  • Correct Answer: D. data-toggle="tooltip"

Q. 415   Which contextual class indicates a succesful or positive action?
  • Correct Answer: B. .bg-success

Q. 416   Which contextual class indicates a dangerous or potentially negative action?
  • Correct Answer: B. .bg-danger

Q. 417   The Bootstrap grid system has four classes which defines screen size:
  • Correct Answer: B. xs, sm, md, lg

Q. 418   Which class is use to display black navigation bar?
  • Correct Answer: B. .navbar-inverse

Q. 419   Which class is used to add rounded corners to an image?
  • Correct Answer: B. .rounded

Q. 420   Which of the following is true about Jumbotron?
  • Correct Answer: C. Both of the above

Q. 421   The bootstrap class md means for
  • Correct Answer: C. small laptops

Q. 422   Which class is used to create warning notification alerts in Bootstrap?
  • Correct Answer: B. .alert-warning

Q. 423   Which class is used to create a button as a link in bootstrap?
  • Correct Answer: B. .btn-link

Q. 424   Which of the following class is used to create thumbnail image?
  • Correct Answer: D. .img-thumbnail

Q. 425   .img-circle class makes the entire image round by adding border-radius:_________.
  • Correct Answer: A. 50%

Q. 426   The contextual classes that are used to create colored progress bar:
  • Correct Answer: D. All of the above

Q. 427   The .container class provides
  • Correct Answer: B. Fixed width container

Q. 428   Which class creates pagination?
  • Correct Answer: A. pagination

Q. 429   Default size of H3 bootstrap heading
  • Correct Answer: D. 24px

Q. 430   Which class creates list of items?
  • Correct Answer: B. list-group

Q. 431   Default size of H2 bootstrap heading
  • Correct Answer: C. 30px

Q. 432   Which is default for a form
  • Correct Answer: B. Vertical Form

Q. 433   Default size of H1 bootstrap heading
  • Correct Answer: D. 36px

Q. 434   Default size of H6 bootstrap heading
  • Correct Answer: B. 12px

Q. 435   The bootstrap class xs means for
  • Correct Answer: A. phones

Q. 436   Bootstrap’s global default font-size is
  • Correct Answer: D. 14px

Q. 437   The Carousel plugin is a component
  • Correct Answer: C. For cycling through elements like slideshow

Q. 438   In Bootstrap we can addfor
  • Correct Answer: A. Proper Rendering and Zooming in mobile

Q. 439   What is latest version of bootstrap?
  • Correct Answer: D. version 5

Q. 440   Bootstrap is used for
  • Correct Answer: D. Web applications

Q. 441   Which class is used to create a badge danger?
  • Correct Answer: D. .badge-danger

Q. 442   Which class is used to create a pagination?
  • Correct Answer: A. .pagination

Q. 443   We use the ___ class to make any element fixed/stay at the top of the page when you scroll past it.
  • Correct Answer: C. .sticky-top

Q. 444   The ___ class adds a scrollbar to the table when needed
  • Correct Answer: D. .table-responsive

Q. 445   In list groups, which class is used to highlight the current item?
  • Correct Answer: A. .active

Q. 446   Which class to create border in bootstrap?
  • Correct Answer: B. .border

Q. 447   In Bootstrap, content must be placed within...
  • Correct Answer: A. Columns

Q. 448   If you want to have 3 equal columns in Bootstrap, which class would you use?
  • Correct Answer: A. .col-md-4

Q. 449   Is it true that the Bootstrap grid system works across multiple devices?
  • Correct Answer: A. yes

Q. 450   Which of the following is correct method to add a success button.
  • Correct Answer: A. .btn and .btn-success

Q. 451   Which of the following class in Bootstrap is used to create an striped progress bar?
  • Correct Answer: A. .progress-bar-striped

Q. 452   Which of the following class in Bootstrap is used for creating the small size modals?
  • Correct Answer: A. .modal-sm

Q. 453   How do you add shadow to elements in CSS3?
  • Correct Answer: A. box-shadow: 10px 10px 5px grey;

Q. 454   How can you created rounded corners using CSS3?
  • Correct Answer: C. border-radius: 30px;

Q. 455   How to rotate objects using CSS3?
  • Correct Answer: C. rotate-object: 30deg;

Q. 456   How to re-size/scale objects using CSS3?
  • Correct Answer: A. transform: scale(1.5);

Q. 457   __________ is a property that allows developers to add rounded corners on the design elements.
  • Correct Answer: D. Border-Radius

Q. 458   Which of the following is correct method to add a warning button.
  • Correct Answer: C. .btn and .btn-warning

Q. 459   Which of the following class in Bootstrap is used to create an progress bar?
  • Correct Answer: B. .progress-bar

Q. 460   If you want to have 4 equal columns in Bootstrap, which class would you use?
  • Correct Answer: D. .col-md-3

Q. 461   If you want to have 2 equal columns in Bootstrap, which class would you use?
  • Correct Answer: B. .col-md-6

Q. 462   If you want to have 6 equal columns in Bootstrap, which class would you use?
  • Correct Answer: A. .col-md-2

Q. 463   Which class is use to fading effect to alert in bootstrap?
  • Correct Answer: D. Both A. and B.

Q. 464   Which class is use to add slider caption in bootstrap?
  • Correct Answer: A. .carousel-caption

Q. 465   Where in an HTML document is the correct place to refer to an internal style sheet?
  • Correct Answer: A. In the <head> section

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

Q. 467   Which is the correct CSS syntax?
  • Correct Answer: D. body {color: black;}

Q. 468   How do you add a background color for all elements?
  • Correct Answer: B. hl {background-color:#FFFFFF;}

Q. 469   Which CSS property is used to change the text color of an element?
  • Correct Answer: C. color

Q. 470   Which CSS property controls the text size?
  • Correct Answer: A. font-size

Q. 471   How do you display hyperlinks without an underline?
  • Correct Answer: B. a {text-decoration:none;}

Q. 472   How do you display a margin like this:
The margin-top = 10 pixels The margin-bottom = 5 pixels The margin-left = 20 pixels The margin-right = 1pixel?
  • Correct Answer: C. margin: 10px 1px 5px 20px;

Q. 473   Which property is used to change the left margin of an element?
  • Correct Answer: B. margin-left

Q. 474   When using the padding property; are you allowed to use negative values?
  • Correct Answer: B. No

Q. 475   How do you make a list type none?
  • Correct Answer: A. list-style-type: none;

Q. 476   How do you select an element with id demo?
  • Correct Answer: B. #demo

Q. 477   How do you select elements with class name test?
  • Correct Answer: D. .test

Q. 478   What is the default value of the position property?
  • Correct Answer: B. static

Q. 479   Which of the following property specifies the right margin of an element?
  • Correct Answer: A. margin-right

Q. 480   How do you display the following padding:
The top padding = 10 pixels The bottom padding = 5 pixels The left padding = 20 pixels The right padding = 1pixel
  • Correct Answer: D. padding: 10px 1px 5px 20px;

Q. 481   What property and value do we use if we want to align text to the right?
  • Correct Answer: A. text-align: right;

Q. 482   What property and value do we use if we want to align text to the justify?
  • Correct Answer: D. text-align: justify;

Q. 483   Which class adds a text white to a page?
  • Correct Answer: C. Both A and B

Q. 484   Which class helps a proper dark background in bootstrap?
  • Correct Answer: A. .bg-dark

Q. 485   which class make a spinner in bootstrap?
  • Correct Answer: C. .spinner-border

Q. 486   What does "padding: 50px 0px 20px 0px" specifies?
  • Correct Answer: A. only top and bottom

Q. 487   Which of the following CSS selectors are used to specify tag elements?
  • Correct Answer: B. p

Q. 488   Which of the following is the property of the CSS box model?
  • Correct Answer: D. height-width

Q. 489   Which of the following attribute specifies the URL of the linked resource?
  • Correct Answer: D. href

Q. 490   Which of the following property adds padding to the top of an element?
  • Correct Answer: C. padding-top

Q. 491   Which of the following property sets a consistent margin on all four sides of the affected element?
  • Correct Answer: B. margin

Q. 492   Which of the following property sets the background image to scroll or not to scroll with its associated element’s content?
  • Correct Answer: C. background-attachment

Q. 493   HTML FULL FORM?
  • Correct Answer: A. HYPER TEXT MARKUP LANGUAGE

Q. 494   How do you create a new Express application?
  • Correct Answer: A. express()

Q. 495   What is the role of RESTful APIs in backend development?
  • Correct Answer: B. To handle client-server communication

Q. 496   Which of the following is used to declare a block-scoped variable in ES6?
  • Correct Answer: B. let

Q. 497   What is a primary responsibility of a backend Node.js developer?
  • Correct Answer: B. Managing server-side logic

Q. 498   Which of the following commands is used to install Express.js?
  • Correct Answer: A. npm install express

Q. 499   Which of the following is important for a backend Node.js developer to understand?
  • Correct Answer: A. Database management

Q. 500   Which of the following is true about arrow functions in ES6?
  • Correct Answer: D. Both a and c

Q. 501   Which of the following is used to define a route in Express?
  • Correct Answer: D. All of the above

Q. 502   Which tool is used for version control in Node.js development?
  • Correct Answer: A. Git

Q. 503   What is the importance of middleware in Express.js applications?
  • Correct Answer: B. To execute code during the request-response cycle

Q. 504   How do you create a template literal in ES6?
  • Correct Answer: C. Using backticks

Q. 505   Which method is used to start an Express server?
  • Correct Answer: B. app.listen()

Q. 506   Which of the following is a key skill for a backend Node.js developer?
  • Correct Answer: A. Proficiency in JavaScript

Q. 507   What is the purpose of using environment variables in Node.js applications?
  • Correct Answer: A. To manage configuration settings

Q. 508   What is the default port used by an Express application if no port is specified?
  • Correct Answer: A. port 3000

Q. 509   Which of the following is a testing framework for Node.js?
  • Correct Answer: D. All of the above

Q. 510   How do you serve static files in Express?
  • Correct Answer: D. Both a and b

Q. 511   Which feature of ES6 allows you to copy properties from one or more source objects to a target object?
  • Correct Answer: D. Both a and b

Q. 512   Which middleware is used to parse JSON bodies in Express?
  • Correct Answer: B. express.json()

Q. 513   What is the use of the dotenv package in Node.js?
  • Correct Answer: A. To manage environment variables

Q. 514   Which of the following is true about default parameters in ES6?
  • Correct Answer: B. They are assigned if no argument is passed or if undefined is passed.

Q. 515   Which of the following is a task runner commonly used in Node.js development?
  • Correct Answer: D. All of the above

Q. 516   Which method is used to handle 404 errors in Express?
  • Correct Answer: A. app.use((req, res, next) => { res.status(404).send(’Not Found’); });

Q. 517   How do you secure a Node.js application?