ICT / Daily quiz archive

Question
practice.

Thousands of extracted MCQs, lesson mapped and connected to the original question-and-answer PDF series.

Original PDFs remain the authority
4,864Extracted questions
582Quiz sets
4,737Lesson mapped
1—583Quiz range
Practice set4,864 matches · Page 318/487
Question 3171Quiz 261
Programming and algorithms

What will be the output of the following code? data = {'a': 10, 'b': 20, 'c': 30} sum = 0 for key in data: sum += data[key] if sum > 50: break print(sum)

L09 · Programming and algorithms with Python

Question 3172Quiz 261
Programming and algorithms

What will be the output of the following code? nums = [5, 10, -3, 8] res = 1 for n in nums: if n > 0: res *= n elif n < 0: res -= n else: break print(res)

L09 · Programming and algorithms with Python

Question 3173Quiz 261
Programming and algorithms

Consider the following python code. def abc(n): j=1 k=1 for i in range(1,n+1): print(k,end=' ') j=j+1 k=k+j n=6 abc(5) What is the output of the above program?

L09 · Programming and algorithms with Python

Question 3174Quiz 261
Programming and algorithms

Consider the below python code. f = open('numbers.txt', 'w') for i in range(1, 6): f.write(str(i) + "\n") f.close() f = open('numbers.txt', 'r') content = f.read() f.close() print(content) After executing the program, what would be the content of the file 'numbers.txt'? 'numbers.txt'

L09 · Programming and algorithms with Python

Question 3175Quiz 260
Other

Which of the following is a characteristic of the first generation of computers (1940s–1950s)? 1940s–1950s

L13 · New trends and future directions of ICT

Question 3176Quiz 260
Programming and algorithms

Which of the following correctly matches the computer hardware component to its primary function?

L02 · Evolution of computing and computer hardware

Question 3177Quiz 260
Data representation and computer architecture

Given two 8-bit unsigned binary numbers / 8- : A=001011012, B=000110112 What is the result of A−B in 8-bit two’s complement binary representation? 8 A−B

L03 · Data representation and number systems

Question 3178Quiz 260
Data representation and computer architecture

Given the binary number / : 101110112 Which of the following options shows the correct decimal and hexadecimal equivalents of this binary number?

L03 · Data representation and number systems

Question 3179Quiz 260
Data representation and computer architecture

Simplify the Boolean expression / : F=AB̅C + A̅BC + ABC + ABC̅ Which of the following is the simplified expression equivalent to F? F

L03 · Data representation and number systems

Question 3180Quiz 260
Programming and algorithms

Given the 3-variable K-map below for function F(A,B,C) F(A,B,C) K-: What is the simplified SOP expression for F / F SOP?

L09 · Programming and algorithms with Python