Page 149 - 2622_Delhi Police Public School_C-7
P. 149

TEST SHEET  2                         (Based on chapters 7 to 9)








                 A.  Choose the correct option.

                    1.   Which of the following properties will you use to change the font of text?
                               a. font-size                                      b. font-style


                               c. font-family                                    d. None of these

                    2.   Which of the following tags is used to define an item in a list?

                               a. <IL>                                           b. <LI>

                               c. <OL>                                           d. <UL>

                    3.   Which of the following is the result of a conditional expression?

                               a. Always True                                    b. Always False

                               c. Both a. and b                                  d. Either True or False

                    4.  Which of the following tag defines the description term?

                               a. <DD>                                           b. <DT>

                               c. <DL>                                           d. <LI>

                    5.   Consider the following HTML code, and identify the error:

                        <P> Using the Paragraph Tag <\P>
                               a. Incorrect use of <P> tag                       b. Incorrect use of backward slash

                               c. Nothing is incorrect                           d. None of these


                    6.     Ravi wants to create a program in Python that assigns grades (A, B, C, and D) to the students according to
                        their percentage of marks. Which of the following is the best suitable option to achieve this?
                               a. Simple if statement                            b. The if…else statement


                               c. The if…elif…else statement                     d. None of these

                    7.   Which of the following tags is used to give the title of the table?
                               a. <TR>                                           b. <TH>


                               c. <CAPTION>                                      d. <TD>

                    8.   Which of the following is not a value of text-align property in CSS?
                               a. left                                           b. right


                               c. center                                         d. top



                                                                                                     Test Sheet 2  147
   144   145   146   147   148   149   150   151   152   153   154