NEB Question Browser
Explore Class 10 Computer Science past and model questions by chapter, year, marks and question type.
153 questions found
What will be the output of the following Python code?
x = 5
y = 2
print(x ** y)7
10
25
32
Which of the following is an example of an IoT device?
Traditional calculator
Smart watch connected to the internet
Wired keyboard
Ordinary notebook
Differentiate between wired and wireless communication with any two points.
What is cloud computing? Mention any two advantages of cloud computing.
Write any two differences between DDL and DML. Give one example of each.
Which communication mode allows data transmission in both directions, but not simultaneously?
Simplex
Half-duplex
Full-duplex
Multiplex
Write a Python program to check whether a given number is positive, negative, or zero.
Write a Python function named square(n) that accepts a number as a parameter and returns its square.
Define primary key and foreign key with a suitable example.
Which of the following is an important ethical concern related to AI?
Increasing screen size
AI bias
Increasing storage capacity
Improving keyboard speed
What is the difference between a switch and a router? Write any two points.
Consider the following student table:
Student_ID | Name | Class | Marks |
|---|---|---|---|
101 | Anisha | 10 | 78 |
102 | Bibek | 10 | 65 |
103 | Suman | 10 | 82 |
Answer the following:
a. Identify the fields and records in the table.
b. Which field can be used as the primary key? Give a reason.
c. Write an SQL command to display the names and marks of all students.
d. Write an SQL command to change Suman's marks to 85.
Which technology connects physical devices to the internet so that they can collect and exchange data?
IoT
VR
E-commerce
Cloud storage
Which type of machine learning uses labeled data for training?
Unsupervised learning
Supervised learning
Reinforcement learning
Generative learning
What will be the output of the following Python code?
print(x % y)
1
3
7
0
Which Python keyword is used to handle an exception?
error
except
handle
catch
What is digital audio and digital video? Explain the following:
a. Any two audio file formats
b. Any two video file formats
c. Importance of compression in multimedia
Which relationship exists when one student can enroll in many courses and one course can have many students?
One-to-one
One-to-many
Many-to-many
No relationship
Which SQL command is used to modify the structure of an existing table?
UPDATE
ALTER
INSERT
SELECT
Study the following Python program and answer the questions:
def calculate(a, b):
return a + b
try:
x = int(input("Enter first number: "))
y = int(input("Enter second number: "))
result = calculate(x, y)
print("Result:", result)
except ValueError:
print("Invalid input")
a. What is the purpose of the calculate() function?
b. Identify the parameters used in the function.
c. What happens if the user enters 5 and 7?
d. What happens if the user enters a non-numeric value?