Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 142 - 2607_Trackpad_Pro_5.1_flipbook_C7
P. 142

    Annual Examination

                                                          Sample Paper

                                                     (Chapters 5, 6, 7, 8 and 9)

                     Max. Time: 2 Hours                                                                  Max. Marks: 40

                     1.  Fill in the blanks.                                                                          5×1 = 5
                        a. In HTML, the tag used to create a frame within a webpage is ........................ .

                        b. The second wave of AI technology was based on ........................ .
                        c. In Python, a ........................ is a collection of data elements separated by comma(,) and enclosed
                           within square brackets.

                        d. The operator used to calculate the remainder in Python is the ........................ operator.
                        e. To create a link, we use the ........................ tag in HTML.

                     2.  Application-based questions.                                                                   4×1=4
                        a. A student is creating a webpage about their favourite animals. They want to display an image
                           of a cat. Which tag allows to insert an image of a cat on the webpage?
                        b. A student enters 5 in their Python code and needs to check its data type. Which function checks
                           the data type of the entered value?
                        c. What is the precedence of operators in the following expression: 4 + 5 * 3 - 6?

                        d. A student’s Python code contains a missing colon after an if statement, and the program
                           crashes. What kind of error is this and how can we resolve it?
                     3.  Define the following terms:                                                                4×1.5 = 6

                        a. Hybrid apps
                        b. Keywords in programming

                        c. Data type in Python
                        d. Border-collapse property in CSS

                     4.  Short answer type questions.                                                                  3×2=6
                        a. How can you change the text colour of all headings (<h1>) in a webpage to blue using CSS?

                        b. Explain the concept of automated transportation.
                        c. Define a boolean data type.

                     5.  Long answer type questions.                                                                   3×3=9
                        a. Describe the three waves of AI technology and their significance.
                        b. What is the use of if-else statement? Explain with suitable example.

                        c. Explain the purpose of <table>, <tr>, <th>, and <td> tags in building a table structure.

                                                                                       Annual Examination Sample Paper  141

| 137 138 139 140 141 142 143 144 145 |