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 308/487
Question 3071Quiz 271
Programming and algorithms

summation = 0 for _ in range(10): number = int(input("Enter a number between 0 and 9: ")) summation += number average = summation / 10 print(f"Summation:_{summation}") print(f"Average:_{average}") What is the output of the above Python code if the inputs are 3,6,2,8,1,4,9,0,7,5 ? 3,6,2,8,1,4,9,0,7,5

L09 · Programming and algorithms with Python

Question 3072Quiz 271
Programming and algorithms

What is the output of the following Python code? def special_algorithm(arr): n = len(arr) for i in range(n): min_idx = i for j in range(i+1, n): if arr[j] < arr[min_idx]: min_idx = j arr[i], arr[min_idx] = arr[min_idx], arr[i] return arr arr = [64, 25, 12, 22, 11] finalized_arr = special_algorithm(arr) print(finalized_arr)

L09 · Programming and algorithms with Python

Question 3073Quiz 271
Programming and algorithms

What is the Output of the following Python code? x=[34,7,12,17,21,4,51] t=0 for i in range(len(x)): if not(x[i]%2!=0): t=t+x[i] print(t)

L09 · Programming and algorithms with Python

Question 3074Quiz 271
Programming and algorithms

Consider the following Python code. def func(text): result = "" for char in text: result = char + result return result print(func("Hello Python")) What will be the output of the given code?

L09 · Programming and algorithms with Python

Question 3075Quiz 270
Programming and algorithms

What is the function of the BIOS in a computer system? BIOS

L02 · Evolution of computing and computer hardware

Question 3076Quiz 270
Other

What can be a more effective solution to bridge the digital divide in Sri Lanka?

L01 · Basic concepts of ICT

Question 3077Quiz 270
Programming and algorithms

What is the purpose of ASCII code? ASCII

L03 · Data representation and number systems

Question 3078Quiz 270
Data representation and computer architecture

Convert the decimal value 96.312510 to binary. 96.312510

L03 · Data representation and number systems

Question 3079Quiz 270
Data representation and computer architecture

What is the simplest form of the Boolean expression given below after trivialization? .(AB + (DB + AC)B)C + AA

L02 · Evolution of computing and computer hardware

Question 3080Quiz 270
Programming and algorithms

Write down the output of the Python program given below. a = -1 b = a ** 0.0 print(a, b, sep=',', end=';') print("A") if a > b else print("=") if a == b else print("B")

L09 · Programming and algorithms with Python