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

Saturday, December 31, 2022

Computer Science SEE Model Set

Computer Science SEE Model Set


Class: -10                                                                                                      Full Marks: 50

Time: 1:30:00 hrs                                                                

Candidates are required to answer in their own words as far as practicable. Credit will be given to originality, not rote learning.

Attempt ALL the questions.

 

Group –A

Very Short Answer Type Questions.    (10 Marks)

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

a) What is malicious code?

Ans: Malicious code, also known as malware, is software that is specifically designed to harm or exploit computer systems.

 

b) List any two examples of cloud service provider.

Ans: Amazon Web Services (AWS, Google Cloud Platform, are the two examples of cloud service provider.

 

c) Which objects of MS-Access are used to enter the data?

Ans: Form and Table are objects of Ms-Access which are used to input data.

 

d) List any two field properties of the number data type in Ms-Access.

Ans: Validation rule, Format are the two-field property of Ms-Access.

 

e) Write the different modes of file handling in Qbasic.

Ans: OUTPUT, INPUT, and APPEND are the modes of file handling.

 

f) Write any two data types used in 'C' language.

Ans: int, char are two data types used in 'C' language.

 

 

2. Write appropriate technical term for the following:                                        (2×1=2)

a) It is the study of secure communications techniques that allow only the sender and intended recipient of a message to view its contents.

Ans: Cryptography

 

b) The ability of a computer program or machine to think and learn.

Ans: Artificial Intelligence

 

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

a. PaaS                               

Platform as a Service

 b. EFT

Electronic Fund Transfer

 

Group –B

Short Answer Types Questions. (24 Marks)

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

a) Write any two advantages and disadvantages of computer networks?

Ans: followings are the advantages and disadvantages of a computer network:

Advantages:

i) Sharing hardware and software.

ii) Data backup and security

Disadvantages:

i) Costly while setup.

ii) Security risk

 

b) What do you mean by social media? List any two opportunities of social media.

Ans: Social media refers to online platforms and websites that allow people to connect and share content with each other.

Opportunities of social media:

i) Staying in touch with friends and family

ii) sharing news and information, promoting businesses and organizations

 

c) What do you mean by backup system? List the different mediums of data backup.

Ans: A backup system is a system that is used to create copies of data in case the original data is lost or damaged.

Different mediums of data backup are:

i) Hard drive

ii) Cloud storage

 

d) What is e-commerce? Give two example of e-commerce website of Nepal.

Ans: E-commerce, or electronic commerce, refers to the buying and selling of goods and services over the internet.

E-commerce web site of Nepal:

i) www.daraz.com

ii)www.sastodeal.com

 

e) What is Virtual Reality (VR)? List the different application of VR.

Ans: Virtual reality (VR) is a technology that allows users to interact with and experience computer-generated environments as if they were real.

Application area of VR:

i) Gaming

ii) Entertainment

 

f) What do you mean by Database? List any two importance of the database.

Ans: A database is a collection of structured data that is stored electronically and can be accessed and managed by a computer system.

The following are the importance of a database:

i) Databases provide a way to store and organize large amounts of data in a structured and efficient manner.

ii) Databases can be used to analyze data, for example, to identify trends or patterns.

 

g) What is a query? Write the types of query.

Ans: Query is the object of Ms-Access which is used to display the data by giving specific criteria and condition.

Following are the types of query

i) Select query

ii) Action query

 

h) What is primary key? Write its importance in database.

Ans: a primary key is a field or column that is used to uniquely identify each record in a table.

The primary key helps to ensure that data is accurate and consistent, as it prevents duplicate records.

 

i) What is Report? Writes use of report.

Ans: A report is a formatted document that presents data from the database in a structured and organized manner.

Following are the uses of report.

i) Reports allow users to present data in a clear and organized manner, making it easier to understand and analyze.

ii) Reports can be used to track progress over time, by comparing data from different periods or by identifying trends or patterns.

 

5. Write down the output of the given program. Show with a dry run in the table.  (2)

DECLARE SUB second (a)

CLS

a = 3

CALL second(a)

END

 

SUB second (a)

FOR x = 1 TO 6

PRINT a;

IF a MOD 2 = 0 THEN

a = a / 2

ELSE

a = (a * 3) + 1

END IF

NEXT x

END SUB

 

Output:

 


 6. Re-write the given program after correcting the bugs:                      (2)

CLS

REM program to display all the pass students records on the screen

OPEN "exam.txt" FOR OUTPUT AS #5

DO WHILE EOF (5)

INPUT 5, n$, c, r$

IF  r$="pass" THEN PRINT, n$, c, r$

WEND

CLOSE #5

END

Ans:

CLS

REM program to display all the pass students records on the screen

OPEN "exam.txt" FOR INPUT AS #5

DO WHILE NOT EOF (5)

INPUT  #5, n$, c, r$

IF  r$="pass" THEN PRINT, n$, c, r$

LOOP

CLOSE #5

END

  

7. Study the following program and answer the given questions:         (2×1=2)

DECLARE FUNCTION avn (n)

CLS

FOR c = 1 TO 3

READ num

PRINT avn (num)

NEXT c

DATA 8, 7, 3

END

 

FUNCTION avn (n)

s = 0

FOR g = 1 TO n

s = s + g

NEXT g

avn = s

END FUNCTION

a) Name the actual and formal parameters used in the above program?

Ans: Actual parameter: num

         Formal parameter: n

b) What is the value of 'num' when the value of 'c' is 2?

Ans:  7

                                                              Group –C

Long Answer Types Questions(16Marks)

8. Convert / Calculate as per the instruction:     

a) Convert the following as instructed.                               (2×1=2)

i) (ABC)16into Decimal Number

 
ii) (277)8 into Hexadecimal

 


  b) Perform the following binary calculations.                     (2×1=2)

i) (101101)2× (11)2 -(1101)2

 
ii) Divide (11010)­2 by (101)2

 


9. Write a program to perform the following task.                     (12)

a) Write a program in QBASIC that allows user to enter distance in meter. Create a user define function to convert meter into kilometer and sub procedure to convert meter in to centimeter.                        4

Ans:

DECLARE FUNCTION kilo (m)

DECLARE SUB centi (m)

CLS

INPUT "Enter distane in meter:"; m

PRINT kilo(m)

CALL centi(m)

END

 

SUB centi (m)

c = m * 100

PRINT c

END SUB

 

FUNCTION kilo (m)

kilo = m / 1000

END FUNCTION

 

b) Write a qbasic program to create a data file "school.dat" and store students name, address, age and percentage of few students.                                                             4         

Ans:

OPEN "school.dat" FOR OUTPUT AS #1

top:

INPUT "Enter name";n$

INPUT "Enter address";a$

INPUT "Enter age";age

INPUT "Enter percentage";p

WRITE #1, n$,a$,age,p

INPUT "Do you need more records press y";ch$

IF ch$="Y" or ch$="y" then GOTO top

CLOSE #1

END

 

10. Write a C program to check whether input number is perfectly divisible by 5 or not.   4

Ans:

#include<stdio.h>

#include<conio.h>

main()

{

         int n;

         printf("Enter any number\n");

         scanf("%d",&n);

         if(n%5==0)

         printf("Perfectly divisible by 5");

         else

         printf("Not perfectly divisible by 5");

}

         OR

Write a 'C' program to display the odd number between 1 to 20.

#include<stdio.h>

#include<conio.h>

main()

{

         int i;

         for(i=1;i<=20;i=i+2)

         {

                     printf("%d\t",i);

         }

}


You may also Read:

QBASIC program to check whether input string is palindrome or not.

No comments:

Post a Comment

Post Top Ad

Your Ad Spot

Pages