Information Technology (802) · Class 12·Sep 26, 2026
Show answer
1
Explanation: The % operator returns the remainder of a divided by b. 19 % 6 = 1.
762
Convert: 2 MB = ______ KB.
SHORT
Easy
Information Technology (802) · Class 11·Sep 26, 2026
Show answer
Explanation: 2 MB = 2 x 1024 KB = 2048 KB.
763
MySQL server 5.6.20 fully supports the RESTRICT and CASCADE options for the DROP TABLE command.
TRUE FALSE
Hard
a.TRUE
b.FALSE
Information Technology (802) · Class 12·Sep 26, 2026
Show answer
FALSE
Explanation: MySQL server 5.6.20 does NOT support RESTRICT and CASCADE options (though they are permitted syntactically for porting ease); it simply won't allow dropping a table referenced elsewhere.
764
Given int a=15, b=4; what is the value of a/b using integer division?
MCQ
Medium
a.3
b.3.75
c.19
d.4
Information Technology (802) · Class 12·Sep 26, 2026
Information Technology (802) · Class 11·Sep 26, 2026
Show answer
Explanation: 3 MB = 3 x 1024 KB = 3072 KB.
766
The referenced table (containing the primary key) must be created before the referencing table containing the foreign key.
TRUE FALSE
Medium
a.TRUE
b.FALSE
Information Technology (802) · Class 12·Sep 26, 2026
Show answer
TRUE
Explanation: The referenced table must be created first, since the foreign key clause in the referencing table needs to point to an existing primary key.
767
Given int a=22, b=7; what is the value of a/b using integer division?
MCQ
Medium
a.3
b.3.14
c.1
d.29
Information Technology (802) · Class 12·Sep 26, 2026