| 101 |
Which module is used in Python to store objects such as lists in a binary file? |
Computer Science/Informatics Practices Binary files |
Easy |
| 102 |
Which file mode should be used to write pickled data to a new binary file? |
Computer Science/Informatics Practices Binary files |
Easy |
| 103 |
What is the correct form of the statement to write a dictionary d into the binary file object f? |
Computer Science/Informatics Practices Binary files |
Medium |
| 104 |
The process of converting a Python object into a byte stream is called |
Computer Science/Informatics Practices Binary files |
Medium |
| 105 |
A program writes a list and then a dictionary with two pickle.dump() calls, then reads the file with pickle.l… |
Computer Science/Informatics Practices Binary files |
Hard |
| 106 |
Which principle does a stack follow? |
Computer Science/Informatics Practices Stack |
Easy |
| 107 |
Removing an element from an empty stack is called |
Computer Science/Informatics Practices Stack |
Easy |
| 108 |
Starting with an empty Python list s, the operations s.append(10), s.append(20), s.pop(), s.append(30), s.app… |
Computer Science/Informatics Practices Stack |
Medium |
| 109 |
Which feature of a web browser is a typical application of a stack? |
Computer Science/Informatics Practices Stack |
Medium |
| 110 |
The characters of "CAT" are pushed one by one onto a stack and then all popped and joined in the order popped… |
Computer Science/Informatics Practices Stack |
Hard |
| 111 |
What is the postfix form of the infix expression A + B * C? |
Computer Science/Informatics Practices Expression notation |
Easy |
| 112 |
Which data structure is used to evaluate a postfix expression? |
Computer Science/Informatics Practices Expression notation |
Easy |
| 113 |
What is the value of the postfix expression 4 5 + 3 2 − *? |
Computer Science/Informatics Practices Expression notation |
Medium |
| 114 |
What is the postfix form of (A + B) * (C − D)? |
Computer Science/Informatics Practices Expression notation |
Medium |
| 115 |
What is the value of the postfix expression 8 2 3 * − 4 +? |
Computer Science/Informatics Practices Expression notation |
Hard |
| 116 |
Which principle does a queue follow? |
Computer Science/Informatics Practices Queue |
Easy |
| 117 |
In a queue implemented with a Python list q using append() for insertion, which statement removes the front e… |
Computer Science/Informatics Practices Queue |
Easy |
| 118 |
Starting with an empty queue, A, B and C are enqueued, one element is dequeued and then D is enqueued. Which … |
Computer Science/Informatics Practices Queue |
Medium |
| 119 |
Which real-life system is best modelled by a queue? |
Computer Science/Informatics Practices Queue |
Medium |
| 120 |
A student implements a queue with a Python list using append() to insert but pop() with no argument to delete… |
Computer Science/Informatics Practices Queue |
Hard |