Computer for SEE and NEB

It is a complete SEE and NEB solution for computer science. It includes Computer Fundamentals, Database (SQL), Programming in C QBASIC, CSS, JavaScript, and PHP for beginners.

Breaking

Post Top Ad

Your Ad Spot

Monday, February 6, 2023

SEE class 10 Computer Science solved question model

 SEE class 10 Computer Science solved question model


SEE class 10 Computer Science solved question model


Subject: Computer Science                                              

Full Marks: 50

 

Time: 1:30:00 hrs

Attempt ALL the questions.


Group –A [10×1=10]

Group- A [Very Short Answer Question: 10×1=10

1. Answer the following questions in one sentence. 6×1=6

a) Write any two examples of bounded media.

Ans: Two examples of bounded are: Fiber optic cable and co-axial cable.


b) Write any two methods of hardware security.

Ans: Following are the two methods of hardware security.

i) Regular maintenance

ii) Protection from fire


c) What is M-Commerce?

Ans: M-commerce, or mobile commerce, refers to the buying and selling of goods and services through mobile devices such as smartphones and tablet


d) List two examples of DBMS.

Ans: Two examples of DBMS are Ms-Access, and SQL


e) What is modular programming in QBASIC programming?

Ans: Modular programming is a software development technique in which a program is broken down into smaller, self-contained units called modules.


f) What is C language?

Ans: C is a general-purpose, high-level programming language that was developed in the early 1970s by Dennis Ritchie at Bell Labs.

2. Write the technical term for the following statements. 2×1=2

a) The fake attempt to obtain sensitive information such as username, password by disguising oneself as trustworthy entity.

Ans: Phishing

b) The technology encodes files or messages.

Ans: Encryption

 


3. Write the full forms of the following. 2×1=2

a) URL: Uniform Resource Locator

b) ADSL: Asymmetric Digital Subscriber Line

 

Group –B

Short Answer Types Questions. (24 Marks)



4. Answer the following questions: (9×2=18)

a) "Computer network reduces the operation cost". Justify the statement.
Ans: Computer networks can significantly reduce the operation costs of an organization by enabling the sharing of resources and information among employees, departments, and even different locations. Resource sharing is one of the main ways that computer networks can reduce costs. By connecting computers, peripherals, and other resources to a network, employees can share printers, scanners, and other devices, reducing the need for multiple devices and reducing costs.


b) What is computer security? Write any two measures to protect software.

Ans: The process of protecting computer hardware, software and data is known as computer security.

Following are the two measures to protect computer security:

i) Password protection

ii) Insurance


c) What is e-governance? Write any two advantages of e-governance.

Ans: E-governance refers to the use of digital technologies and the Internet to improve the delivery of public services, promote transparency and accountability, and engage citizens in decision-making processes.

Two advantages of e-governance are:

i) E-governance makes it easier for citizens to access government services, reducing the need to travel to government offices.

ii) E-governance tools, such as online forums and e-petitions, can help increase citizen participation in government decision-making.



d) What is e-commerce? Write any two advantages of it.

Ans: E-commerce refers to the buying and selling of goods and services, or the transmitting of funds or data, over the Internet. It is a type of electronic commerce.

Two advantages of e-commerce are:

i) E-commerce allows customers to shop and make transactions from anywhere, at any time, without having to physically visit a store.

ii) E-commerce eliminates the need for physical storefronts, reducing costs for businesses.



e) How does IoT help in our daily life? Explain.

The Internet of Things (IoT) refers to connected physical devices that can collect and exchange data. IoT is making daily life more convenient, efficient, and safe. For instance, smart home devices offer home automation and security from a smartphone, wearable IoT devices provide real-time health information, and IoT helps reduce traffic congestion and improve safety in transportation. In healthcare, IoT improves patient care through wearable health monitors. Overall, IoT enhances daily life by making it more connected, efficient, and enjoyable.



f) List any four data type of Ms-Access? Also mention its functions.

Microsoft Access is a relational database management system that supports different data types, including:

Text: This data type is used to store alphanumeric characters, such as names, addresses, and descriptions..

Number: This data type is used to store numeric values, such as amounts, quantities, and percentages.

Date/Time: This data type is used to store date and time values, such as birth dates, order dates, and appointment times.

Yes/No: This data type is used to store binary values, such as true/false, yes/no, and on/off. It can be used for fields that require a simple answer to a question.



g) Define field and record in database.

Ans: In a database, a field refers to a specific characteristic or attribute of an object or item being stored. For example, in a customer database, fields may include first name, last name, address, and phone number. Each field stores a specific piece of information related to the object or item.

A record, on the other hand, is a complete set of information about a single object or item. It is made up of one or more fields, each containing a specific piece of information. In the customer database example, a record would represent a single customer and would contain all of the information about that customer, such as their first name, last name, address, and phone number.


h) What is primary key? Write its importance.

Ans: A primary key is a unique identifier for each record in a database table. The following are the important aspects of a primary key:

i) A primary key ensures that each record in a table has a unique identifier and prevents duplicate records from being stored in the database.

ii) A primary key is used to link tables together in a relational database by allowing records in one table to reference a specific record in another table.



i) What is query in Ms-Access? List the different types of query in Ms-Access.

Ans: In Microsoft Access, a query is a database object used to retrieve and manipulate data from one or more tables in a database. A query can perform various functions such as sorting, filtering, calculating, and summarizing data.

There are several types of queries available in Microsoft Access:

i) Select Query

ii) Action Query

Action query further classified into Delete query, Append query, and Update query.

 


5) Write the output of the given program sowing the dry table. 2


DECLARE SUB series()

CLS

CALL series

END



SUB series()

a=11111

c=5

WHILE c>=1

PRINT a;

a=a\10

c=c-1

WEND

END SUB

 

Dry Run


Variable A

Variable C

Checking loop

Is c>=1?

Output

11111

5

Is 5>=1 ? Yes

11111

1111

4

Is 4>=1? Yes

1111

111

3

Is 3>=1? Yes

111

11

2

Is 2>=1? Yes

11

1

1

Is 1>=1? Yes

1

0

0

Is 0>=1? No, Exit from loop

 

 



Final Output:


11111 1111 111 11 1



6) Debug the following program. 2

REM to store name, address in the file "store.dat"

CLS

OPEN "store.dat" FOR INPUT AS #1

DO

INPUT "Enter name";name$

INPUT "Enter address";address

WRITE name$,address$

INPUT "Do you want to continue";ans$

LOOP WHILE UCASE$(ans$)="Y"

CLOSE #2

END



Debugged program

REM to store name, address in the file "store.dat"

CLS

OPEN "store.dat" FOR OUTPUT AS #1

DO

INPUT "Enter name";name$

INPUT "Enter address";address$

WRITE #1, name$,address$

INPUT "Do you want to continue";ans$

LOOP WHILE UCASE$(ans$)="Y"

CLOSE #1

END

 


7) Read the following program and answer the given question. 2


DECLARE SUB string(x$)

CLS

x$="COMPUTER"

CALL string(x$)

END



SUB string(x$)

L=LEN(x$)

FOR A=L TO 1 STEP -2

PRINT MID$(x$,A,1)

NEXT A

END SUB

Questions:

a) What is the value of L in the above program?

Ans: The value of L in the above program is 8.

b) List the numeric and string variable in the above program.

Ans: Numeric variable: L,A String variable: x$



Group C

8. Convert the following as indicated  4×1=4

i) (CAB)16 into binary

ii) (767)8 into decimal

iii) (1110111)2 + (1011)2 - (11)2

iv) (10111101)2 ÷ (101)2



9) Answer the following questions. 4×2=8

a) Write a program to calculate total surface area of cylinder using function procedure and volume using sub procedure. [Hint: Total surface area=2Ï€r(h+r), volum=2Ï€r2h )

DECLARE FUNCTION area(r,h)

DECLARE SUB volume(r,h)

CLS

INPUT "Enter radius";r

INPUT "Enter height";r

PRINT area(r,h)

CALL volume(r,h)

END

FUNCTION area(r,h)

area=2*3.14*r*(r+h)

END FUNCTION



SUB volume(r,h)

v=3.14*r^2*h

PRINT "Volume of cylinder=";v

END SUB


b) A sequential data file "employee.dat" contains name, address, age and salary of employee. Write a program to display all the information whose address is "Kathmandu" and salary is greater than 50000.

OPEN "employee.dat" FOR INPUT AS #2

CLS

DO WHILE NOT EOF(2)

INPUT #1,name$, add$, age, sal

IF UCASE$(add$)="KATHMANDU" AND s > 50000 THEN

PRINT name$, add$, age, sal

ENDIF

WEND

CLOSE #1

END


Click here for computer manual.


10. Write a program in C programming to find the reverse of an input number. 4

#include <stdio.h>

int main()

{

int num, rev = 0, digit;

printf("Enter a number: ");

scanf("%d", &num);

while (num != 0) {

digit = num % 10;

rev = rev * 10 + digit;

num /= 10;

}

printf("The reversed number is: %d", rev);

return 0;

}

OR

Write a c program to input three numbers and check whether input number is positive, negative or zero.

#include <stdio.h>

int main()

{

int n;

printf("Enter any number:\n ");

scanf("%d",&n);

if(n>0)

printf("Number is Positive");

else if(n<0)

printf("Number is Negative");

else

printf("Number is Zero");

return 0;

}




No comments:

Post a Comment

Post Top Ad

Your Ad Spot

Pages