0% found this document useful (0 votes)
5 views

NEB_Computer_Science_Model_Question

The document is a model question paper for NEB Class 12 Computer Science, covering various topics such as computer networks, the Internet, multimedia, C programming, databases, and signals. It includes definitions, advantages, programming examples, and explanations of concepts like loops and topologies. The paper is structured with questions and answers, providing a comprehensive overview of the subject matter.

Uploaded by

Ukesh Chapagain
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

NEB_Computer_Science_Model_Question

The document is a model question paper for NEB Class 12 Computer Science, covering various topics such as computer networks, the Internet, multimedia, C programming, databases, and signals. It includes definitions, advantages, programming examples, and explanations of concepts like loops and topologies. The paper is structured with questions and answers, providing a comprehensive overview of the subject matter.

Uploaded by

Ukesh Chapagain
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

NEB Class 12 Computer Science - Model Question with Answers

Full Marks: 75 Pass Marks: 27 Time: 3 Hours

1. Define computer network. Write any four advantages of networking.

A computer network is a group of interconnected computers and devices that share data and

resources.

Advantages:

- File sharing

- Internet sharing

- Resource sharing (printers, etc.)

- Easy communication

2. Define Internet. Mention any four services provided by the internet.

The Internet is a global network that connects millions of computers.

Services:

- Email

- Web browsing

- File sharing

- Online banking

3. What is a multimedia? List any four components of multimedia.

Multimedia is the integration of text, audio, images, animation, and video into a single system.

Components:

- Text

- Audio

- Video

- Animation

4. Write a C program to check whether the entered number is even or odd.


#include <stdio.h>

int main() {

int num;

printf("Enter a number: ");

scanf("%d", &num);

if (num % 2 == 0)

printf("Even");

else

printf("Odd");

return 0;

5. Define loop. List and explain two types of loops in C.

A loop is used to repeat a block of code.

Types:

- for loop: used when number of iterations is known.

- while loop: used when condition is checked before entering loop.

6. Write a C program to calculate factorial of a number.

#include <stdio.h>

int main() {

int i, n;

long fact = 1;

printf("Enter a number: ");

scanf("%d", &n);

for (i = 1; i <= n; i++)

fact *= i;

printf("Factorial = %ld", fact);


return 0;

7. Define database and DBMS. List any three advantages of DBMS.

A database is an organized collection of data.

DBMS is software that manages databases.

Advantages:

- Reduces data redundancy

- Ensures data security

- Easy to update and access

8. What is a variable? Write the rules of naming variables in C.

A variable is a named location in memory used to store data.

Rules:

- Must start with a letter or underscore

- Cannot use keywords

- No spaces allowed

- Case-sensitive

9. What is a header file in C? Write the purpose of #include<stdio.h>.

A header file contains predefined functions and macros.

#include<stdio.h> is used to include functions like printf() and scanf().

10. Define topology. List any three types of network topology.

Topology is the physical or logical layout of a network.

Types:

- Star

- Bus

- Ring
11. Write the differences between analog and digital signals.

Analog Signal:

- Continuous in nature

- Varies smoothly

- Prone to noise

Digital Signal:

- Discrete in nature

- Has 0s and 1s

- Less affected by noise

12. Write a C program to check whether a number is a palindrome or not.

#include <stdio.h>

int main() {

int num, rev = 0, rem, temp;

printf("Enter a number: ");

scanf("%d", &num);

temp = num;

while (num != 0) {

rem = num % 10;

rev = rev * 10 + rem;

num /= 10;

if (temp == rev)

printf("Palindrome");

else

printf("Not Palindrome");
return 0;

13. What is a database? Explain components of DBMS.

A database is an organized collection of related data.

Components of DBMS:

1. Hardware - Physical devices

2. Software - DBMS software like MySQL, Oracle

3. Data - Actual data stored in DB

4. Users - End users, administrators

5. Procedures - Instructions for managing DB

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy