New HPSC PGT Computer Science, KVS, NVS & RPSC Programmer Topic-wise Video Lectures, Notes & Test Series Added! YouTube →
KVS PGT CS / NVS / HPSC Special • Programming (C, C++, Python) (Guest Mode: Free Quiz #1 of 2)

Python, Data Structures & Digital Logic Combined Mock #4

15:00
Question 1 of 5 Correct: +2 | Negative: -0.5
What will be the output of the following Python code snippet?
data = [10, 20, 30, 40, 50]
print(data[-2::-2])
Question 2 of 5 Correct: +2 | Negative: -0.5
A strict (full) binary tree has 15 internal nodes (nodes with degree 2). How many leaf nodes does this tree have?
Question 3 of 5 Correct: +2 | Negative: -0.5
What is the worst-case time complexity of Quick Sort when the array is already sorted in ascending order and the first element is chosen as the pivot?
Question 4 of 5 Correct: +2 | Negative: -0.5
How many 2-input NAND gates are minimum required to implement a 2-input XOR gate?
Question 5 of 5 Correct: +2 | Negative: -0.5
In Python, which module is standardly used for serializing and deserializing objects into a binary file (Binary File Handling in NCERT Class XII)?

Ready to Finish Your Mock Test?

Click Submit below to calculate your instant score, accuracy percentage, and view detailed explanations.

Video Lecture

Watch directly here or open on YouTube to comment & subscribe. Open on YouTube

Study Notes