School Olympiads - National Cyber Olympiad & AI Foundation (NCO)

Functions, Lists, Tuples & String Methods question bank (Algorithms, Logic & Programming Foundations)

Practice 4 free School Olympiads - National Cyber Olympiad & AI Foundation (NCO) Algorithms, Logic & Programming Foundations - Functions, Lists, Tuples & String Methods questions with answers and step-by-step solutions.

Q1.
In computing logic for Functions, Lists, Tuples & String Methods, what is the binary representation of the decimal number $25$?

(A)
{'key': 'A', 'text': '(11001)₂'}
(B)
{'key': 'B', 'text': '(11010)₂'}
(C)
{'key': 'C', 'text': '(11011)₂'}
(D)
{'key': 'D', 'text': '(11000)₂'}
Show answer & solution
Verified Answer & Solution Locked
Sign in to your free student account to reveal verified answers, instant hints, and detailed explanations.
Sign in to view
Q2.
In computing logic for Functions, Lists, Tuples & String Methods, what is the binary representation of the decimal number $35$?

(A)
{'key': 'A', 'text': '(100011)₂'}
(B)
{'key': 'B', 'text': '(100100)₂'}
(C)
{'key': 'C', 'text': '(100101)₂'}
(D)
{'key': 'D', 'text': '(100010)₂'}
Show answer & solution
Verified Answer & Solution Locked
Sign in to your free student account to reveal verified answers, instant hints, and detailed explanations.
Sign in to view

Sign up free to access all 2 questions

Unlock every Functions, Lists, Tuples & String Methods question, generate papers, and practice at your own pace.