PreBoard II SET A
PreBoard II SET A
SECTION –A
1. State true or false: In a python if…elif block, the else block is compulsory to write.
2. Kajal has created a MYSQL table storing the details of players. She wants to see the
structure of the table with the fields, data type, size and constraints. Which of the
command out of the following she has to use?
(a) Describe (b) Alter (c) Show table(d) none of the above
3. Sudhir found that signals send by him to his friend were weak. Which of the following
devices he needs to install?
(a) NIC(b) RJ45 (c) Modem (d) Repeater
4. What will be the output of the following Python statements?
D={“Anu” :90, “Raju “: 98, “Venu”: 95, “Raji”: 89}
V= D.values()
Print(“Anu” in D, 95 in V,sep=”#”)
(a) True#False (b) True#True(c)False#True (d)False#False
5. Fill in the blanks:
An IP address is of __________
(a) 4 bytes (b) 3 bytes (c) 16 bytes (6) 32 bytes
6. Which of the following statements opens a binary file “Emp.dat” for adding more
records keeping the existing records?
(a) F=open(“Emp.dat”,”w”) (c) F=open(“Emp.dat”,”ab”)
13.