41

Which of the following HTML tags is used to put a line break in the text??

a <B>
b <BL>
c <L>
d <BR>
Correct: (D) <BR>
42

Which of the following is the syntax to write an external CSS??

a <style rel="stylesheet" type="text/css" href="style.css">
b <style> href="style.css" </style>
c <link rel="stylesheet" type="text/css" href="style.css">
d <a href="style.css" rel="stylesheet" type="text/css" >
Correct: (C) <link rel="stylesheet" type="text/css" href="style.css">
43

Which of the following forms is correct to show 'comments' in the HTML language??

a <!--This is a comment ->
b <--This is a comment --!>
c <!--This is a comment --!>
d <!--This is a comment -->
Correct: (A) <!--This is a comment ->
44

Which of the following rules is needed to be followed while declaring XML (Extensible Markup Language) element names??

a Name must start with a number
b Name can contain spaces
c Name must not start with the letters xml
d Name cannot contain letters, numbers, and other characters
Correct: (C) Name must not start with the letters xml
45

Which function is used to display output in Python??

a input()
b print()
c Display()
d output()
Correct: (B) print()
46

What is the output of print(17 // 5)??

a 3.4
b 2
c 3
d 4
Correct: (C) 3
47

Which is a valid Python identifier??

a 2marks
b student_name
c student-name
d class
Correct: (B) student_name
48

What is the data type of input() output by default??

a int
b float
c str
d bool
Correct: (C) str
49

What is the output of print(2 ** 4)??

a 6
b 8
c 16
d 24
Correct: (C) 16
50

Which Python collection is immutable??

a List
b Dictionary
c Set
d Tuple
Correct: (D) Tuple