Class 10 Computer Science notes and question bank — NEB Exam
Home/Class 10/Computer Science/Question Browser

Computer Science

Class 10 - 5 Chapters

NEB Question Browser

Explore Class 10 Computer Science past and model questions by chapter, year, marks and question type.

153 questions found

101
MCQ1 markModel Question · Set BProgramming in PythonSolution available

What will be the output of the following Python code?

x = 5
y = 2
print(x ** y)

A

7

B

10

C

25

D

32

Open in Programming in Python page
102
MCQ1 markModel Question · Set BAI and Contemporary TechnologiesSolution available

Which of the following is an example of an IoT device?

A

Traditional calculator

B

Smart watch connected to the internet

C

Wired keyboard

D

Ordinary notebook

Open in AI and Contemporary Technologies page
103
Short2 marksModel Question · Set BComputer Network and CommunicationSolution available

Differentiate between wired and wireless communication with any two points.

Open in Computer Network and Communication page
104
Short2 marksModel Question · Set AAI and Contemporary TechnologiesSolution available

What is cloud computing? Mention any two advantages of cloud computing.

Open in AI and Contemporary Technologies page
105
Short2 marksModel Question · Set ADatabase Management SystemSolution available

Write any two differences between DDL and DML. Give one example of each.

Open in Database Management System page
106
MCQ1 markModel Question · Set AComputer Network and CommunicationSolution available

Which communication mode allows data transmission in both directions, but not simultaneously?

A

Simplex

B

Half-duplex

C

Full-duplex

D

Multiplex

Open in Computer Network and Communication page
107
Short2 marksModel Question · Set ASolution available

Write a Python program to check whether a given number is positive, negative, or zero.

Browse the Question Bank
108
Short2 marksModel Question · Set AProgramming in PythonSolution available

Write a Python function named square(n) that accepts a number as a parameter and returns its square.

Open in Programming in Python page
109
Short2 marksModel Question · Set ADatabase Management SystemSolution available

Define primary key and foreign key with a suitable example.

Open in Database Management System page
110
MCQ1 markModel Question · Set AAI and Contemporary TechnologiesSolution available

Which of the following is an important ethical concern related to AI?

A

Increasing screen size

B

AI bias

C

Increasing storage capacity

D

Improving keyboard speed

Open in AI and Contemporary Technologies page
111
Short2 marksModel Question · Set AComputer Network and CommunicationSolution available

What is the difference between a switch and a router? Write any two points.

Open in Computer Network and Communication page
112
Long4 marksModel Question · Set ADatabase Management SystemSolution available

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.

Open in Database Management System page
113
MCQ1 markModel Question · Set AAI and Contemporary TechnologiesSolution available

Which technology connects physical devices to the internet so that they can collect and exchange data?

A

IoT

B

VR

C

E-commerce

D

Cloud storage

Open in AI and Contemporary Technologies page
114
MCQ1 markModel Question · Set AAI and Contemporary TechnologiesSolution available

Which type of machine learning uses labeled data for training?

A

Unsupervised learning

B

Supervised learning

C

Reinforcement learning

D

Generative learning

Open in AI and Contemporary Technologies page
115
MCQ1 markModel Question · Set AProgramming in PythonSolution available

What will be the output of the following Python code?

print(x % y)

A

1

B

3

C

7

D

0

Open in Programming in Python page
116
MCQ1 markModel Question · Set AProgramming in PythonSolution available

Which Python keyword is used to handle an exception?

A

error

B

except

C

handle

D

catch

Open in Programming in Python page
117
Long4 marksModel Question · Set AMultimediaSolution available

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

Open in Multimedia page
118
MCQ1 markModel Question · Set ADatabase Management SystemSolution available

Which relationship exists when one student can enroll in many courses and one course can have many students?

A

One-to-one

B

One-to-many

C

Many-to-many

D

No relationship

Open in Database Management System page
119
MCQ1 markModel Question · Set ADatabase Management SystemSolution available

Which SQL command is used to modify the structure of an existing table?

A

UPDATE

B

ALTER

C

INSERT

D

SELECT

Open in Database Management System page
120
Long4 marksModel Question · Set AProgramming in PythonSolution available

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?

Open in Programming in Python page