Loading samples...
Loading samples...
11th-sample-1
Class 11 Computer Science Assessment
What is cyber safety?
Which loop is used when the number of iterations is known?
Which of the following is an input device?
What is the output of bool('False')?
What is the output of bool('False')?
What is the result of 5 // 2?
What does a CPU do?
Which of the following is an input device?
Which operator is used for string concatenation?
Tuples are ____ in nature.
Explain the difference between '/' and '//' operators in Python.
[3 marks]What is cyberbullying? How can it be prevented?
[3 marks]What is the role of an Operating System?
[3 marks]What is cyberbullying? How can it be prevented?
[3 marks]What are keywords in Python? Give 2 examples.
[3 marks]What are keywords in Python? Give 2 examples.
[3 marks]What is cyberbullying? How can it be prevented?
[3 marks]Explain the difference between '/' and '//' operators in Python.
[3 marks]What is the role of an Operating System?
[3 marks]Define string slicing with an example.
[3 marks]Create a dictionary of 3 students with their marks and write code to find the highest marks.
[5 marks]Write a program to find the largest number in a list without using the max() function.
[5 marks]Write a program to find the largest number in a list without using the max() function.
[5 marks]Write a program to find the largest number in a list without using the max() function.
[5 marks]Write a Python script to print the Fibonacci series up to n terms.
[5 marks]Write a program to check if a number is prime.
[5 marks]Find the error: for i in range(5) print(i)
[3 marks]Explanation:Missing colon ':' at the end of the for loop statement.
Predict the output: print(2 ** 3 ** 2)
[3 marks]Explanation:Exponentiation is evaluated right-to-left. 3**2 is 9, and 2**9 is 512.
Find the error: x = 10 if x = 10: print('Yes')
[3 marks]Explanation:Assignment operator '=' is used instead of comparison operator '=='.
Find the error: for i in range(5) print(i)
[3 marks]Explanation:Missing colon ':' at the end of the for loop statement.
Find the error: x = 10 if x = 10: print('Yes')
[2 marks]Explanation:Assignment operator '=' is used instead of comparison operator '=='.
Predict the output: lst = [1, 2, 3] lst.append([4, 5]) print(len(lst))
[2 marks]Explanation:The list [4, 5] is appended as a single element, so the list becomes [1, 2, 3, [4, 5]].
Find the error: x = 10 if x = 10: print('Yes')
[2 marks]Explanation:Assignment operator '=' is used instead of comparison operator '=='.
Predict the output: print(2 ** 3 ** 2)
[2 marks]Explanation:Exponentiation is evaluated right-to-left. 3**2 is 9, and 2**9 is 512.