Question 46
To store character or text data in programming, we need a -
String variables store sequences of text characters.
To store character or text data in programming, we need a -
String variables store sequences of text characters.
What is the value of the Python exponentiation expression: 2 ** 3?
** is Python's exponentiation operator ($2^3$ = 8).
Which of the following data structures in Python is classified as a 'Mapped' data type?
Dictionaries map hashable keys to arbitrary values (key-value pairs) in Python.
Which operator precedence is HIGHER in C/C++?
Postfix operators (x++, x--) have higher precedence than unary operators (*, &) and arithmetic operators.
Which Python data type is built-in to implement a Queue data structure easily?
Python lists provide append() and pop(0) methods suitable for implementing basic Queues.