CS AK Preboard
CS AK Preboard
Correct answer: b. 6, 20
• Marking: 1 mark for the correct option and reasoning (VARCHAR uses actual length +
1, CHAR pads spaces).
Correct answer: c. 3
• Marking: 1 mark for correct explanation (primary key + alternate keys).
• Marking: 1 mark for identifying errors (S2: invalid key; S4: pop() takes a key).
Correct answer: c. A candidate key that is not a primary key is a foreign key.
True.
Correct answer: a. Details of all products whose names start with 'App'.
Correct answer: a. Both A and R are true and R is the correct explanation for A.
(i) Bus topology has a single backbone; Star topology uses a central hub.
(ii) Advantage of Bus: cost-effective. Advantage of Star: easy fault isolation.
(iii)
OR
Expand POP3: Post Office Protocol version3.
Expand URL: Uniform Resource Locator.
XML vs HTML:
• Marking: 1 mark for each correct explanation or expansion.
Output:
Or
Output:
OR
Q27. DDL and DML Commands:
OR
20$4
Implement push_book, pop_book, and peep functions with given stack logic.
OR
Implement push_even, pop_even, and Disp_even.
(i) Output:
(ii) Output:
(iii) Output:
Output:
OR
Output:
LongLines(): Reads file, checks word count >= 10, displays lines.
OR
(I) OUTPUT:
(II) OUTPUT:
(IV) OUTPUT:
OR
SELECT * FROM FACULTY, COURSES;
OR
Statement-1 pickle
Statement-2 ‘ab’
Statement-3 pickle.load(f)
Statement-4 reclst[i][‘Marks’]=m
Statement-5 pickle.dump(x,f)
Decorators
Admin
Food
Media
iv) repeater need - no if using optical fibre
v) communication method - video conferencing
OR
Identify network type - LAN Marking: 1 mark per point.