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

Sunday, March 24, 2024

Grade 10 Computer Science SEE New Question Model with Solutions

 Grade 10 Computer Science SEE New Question Model with Solutions


Grade 10 Computer Science SEE New Question Model with Solutions


Subject: Opt. II (Computer Science)

Full Marks: 50                       Time: 2:00 hrs
Candidates are required to give their answers according to the instructions.

Attempt all the questions.

Group 'A' (10 Marks)

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

a) Which type of cable typically uses RJ-45 connector?

Ans: Twisted Pair Cable

 

b) Write the name of the protocol for sending email messages.

Ans: Simple Mail Transfer Protocol (SMTP)

 

c) What is the primary component of a database that organizes data into row and columns?

Ans: Table

 

d) What data type is commonly represented as Boolean in Ms-Access?

Ans: Yes/No

 

e) Which mode is used to read and display data from an exiting sequential data file?

Ans: INPUT mode

 

f) List the unary operator in c programming.

Ans:     (++) increment operator

            (--) Decrement operator

 

2. Write appropriate technical terms for the following. 2×1=2

a) The conversion of encrypted data into its original form.

Ans: Decryption

 

b) A process of performing a verity of tech-enabled activities communities and network.

Ans: Social media

 

3. Write the full form of the following: 2×1=2

a. EFT: Electronic Funds Transfer

b. MAN: Metropolitan Area Network

 

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

a. What is communication media? Draw a well-labeled diagram of ring topology

Ans: Communication media are the tools or channels used to transmit messages or information between senders and receivers.

 

b. Define digital citizenship. Write any two examples of cyberbullying.

Ans: Digital citizenship refers to the responsible use of technology and the internet to participate in online communities and activities in a safe, respectful, and effective manner.

Following are the two examples of cyber bullying:

i. Sending threatening or harassing messages online.

ii. Spreading rumors or lies about someone on social media.

 

c. What is information security? Write any four hardware security measures.

Ans: Information security is the process of protecting information and systems from unauthorized access or attacks in order to maintain their confidentiality, integrity, and availability.

Four hardware security measures are as here under:

i. Use power protection device (Volt guard, spike guard, UPS etc.)

ii. Regular maintenance

iii. Use firewall

iv. Insurance

 

d. Differentiate between e-commerce and traditional commerce.

Ans: Differentiate between e-commerce and traditional commerce are as here under:

E-commerce

Traditional commerce

E-commerce transactions are conducted entirely online via websites or mobile apps.

Traditional commerce transactions take place in physical stores, via mail, or over the phone.

Businesses can reach a global audience and operate 24/7 without any geographical restrictions.

 

It is typically limited to local or regional markets and operates during specific business hours.

Uses digital marketing channels like social media, search engine optimization (SEO), and email marketing to reach and engage customers.

 

It uses traditional advertising methods like print, radio, and television advertisements

 

Physical inspection of goods is not possible before purchase.

 

We can check the goods before purchasing them.

 

 

e. What is the Internet of Things? Write any two application of the area of virtual reality.

Ans: The Internet of Things (IoT) is a network of interconnected devices and objects that communicate and exchange data via the internet.

Following are the two application area of VR:applications

i. Gaming

ii. Education and Training

 

f. What is a database? Give any four examples of DBMS.

Ans: A database is a well-organized collection of data that is easy to access and manage.

Following are the four examples of DBMS:

i. MS-Access

ii. Oracal

iii. MySQL

iv. FoxPro

 

g. What is validation rule? Write any two importance of primary key.

Ans:  In MS Access, a validation rule is a criterion that limits the type or range of data that can be entered into a database table's fields.

Following are the two importance of primary key:

i. Every record in a table is uniquely identified.
ii. Ensures data accuracy and prevents duplicate records.

 

h. Define record. Write any two advantages of sorting.

Ans: A record is a group of related fields that represent a single item or entity in a database table.

Following are the two advantages of data sorting.

i. Easy to find the data.

ii. Easy to analysis the data.

 

i. List any two major differences between report and query.

Ans: Following are the differences between report and query.

Query

Report

It's used to find and retrieve specific data that meets certain criteria.

It is intended to format, calculate, print, and summarise specific data for presentation and analysis.

The primary focus is on data selection and filtering, with limited formatting.

 

Graphical elements, charts, and detailed formatting options are all acceptable.

 

 

5. Write the output of the given program. Show with dry run in table.  2

DECLARE SUB display ()

CLS

CALL display

END

 

SUB display

i = 10

n = 32

WHILE i <= 19

IF n MOD 2 = 0 THEN PRINT n

i = i + 2

n = n + 1

WEND

END SUB

 Dry Run: 


Var. I

Var N

Loop check?

Condition check?

Print n

10

32

Is 10<=19? Yes

32 MOD 2=0? Yes

32

10+2=12

32+1=33

Is 12<=19? Yes

33 MOD 2=0? No

 

10+2=14

33+1=34

Is 14<=19? Yes

34 MOD 2=0 ? Yes

34

14+2=16

34+1=35

Is 16<=19? Yes

35 MOD 2=0? No

 

16+2=18

35+1=36

Is 18<=19? Yes

36 MOD 2=0 ? Yes

36

18+2=20

36+1=37

Is 20<=19? No

Exit from loop

 

 

 

The final output:

32

34

36

 

6. Re-write the given program after correcting the bug: 2

REM To read records from the data file

OPEN "STUD.DAT" FOR OUTPUT AS #1

WHILE NOT EOF("STUD.DAT")

INPUT #1, n$,C,r

PRINT #1, n$,C,R

LOOP

CLOSE #1

END

 

Debugged program:

REM To read records from the data file

OPEN "STUD.DAT" FOR INPUT AS #1

WHILE NOT EOF(1)

INPUT #1, n$,C,r

PRINT  n$,C,R

WEND

CLOSE #1

END

 

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

DECLARE FUNCTION check (a, b)

CLS

INPUT "Enter any two numbers"; x, y

PRINT check(x, y)

END

 

FUNCTION check (a, b)

IF a > b THEN

t = a + b

ELSE

t = a * b

END IF

check = t

END FUNCTION

a. What is the name of user defined function in the above program.

Ans: check

b. List the real parameters and formal parameters in the above program.

Ans:     Real parameter: x,y

            Formal parameters: a,b

 

8. Convert/Calculate as per the instructions: 4×1=4

i) (416)10 into (?)8                              ii) (B2C)16 into (?)2

iii) (101010) ×(101) – (1010)              iv) (10110111)÷(101)

 

9.a) Write a QBASIC program that allows the user to enter the radius and height. Create a user-defined function to calculate the area of the circle and a subroutine to calculate the volume of a cylinder. Hint: [A=Ï€r2, V=Ï€r2h]     4

Ans:

DECLARE FUNCTION area (r)

DECLARE SUB volume (r, h)

CLS

INPUT "Enter radius and height:"; r, h

PRINT "Area of circle:"; area(r)

CALL volume(r, h)

END

 

FUNCTION area (r)

area = 22 / 7 * r ^ 2

END FUNCTION

 

SUB volume (r, h)

v = 22 / 7 * r ^ 2 * h

PRINT "Volume of a cylinder:"; v

END SUB

b) Write a QBASIC program that reads from a sequential data file named 'Record.txt,' which stores data under the headings: Roll No., Name, Gender, English, Nepali, Math, and Computer. The program should display the information of all female students who have passed all subjects. [Note: A passing mark in all subjects is 35].  4

Ans:

CLS

OPEN "record.txt" FOR INPUT AS #1

DO WHILE NOT EOF(1)

INPUT #1, rn,name$,g$,eng,nep,math,comp

IF UCASE$(g$)="FEMALE" AND eng>=35 AND nep>=35 AND math>=35 AND comp>=35 THEN PRINT rn,name$,g$,eng,nep,math,comp

LOOP

CLOSE #1

END

 

 

10. Write a C program to check whether an input number is perfectly divisible by both 3 and 7 .  4

#include <stdio.h>

int main() {

    int number;

    printf("Enter a number: ");

    scanf("%d", &number);

   

    if(number % 3 == 0 && number % 7 == 0)

            {

        printf("The number %d is perfectly divisible by both 3 and 7.\n", number);

    }

            else

            {

        printf("The number %d is not perfectly divisible by both 3 and 7.\n", number);

    }

        return 0;

}

OR

Write a C program to display all even numbers between 1 and 40, and calculate their sum.

#include<stdio.h>

int main()

{

            int x,sum=0;

            for(x=1;x<=40;x++)

            {

                        if (x%2==0)

                        {

                                    printf("%d\n",x);

                                    sum=sum+x;

                        }

            }

            printf("Sum=%d",sum);

            return 0;

}


You may also read:

PABSON SEE PRE-QUALIFING EXAMINATION-2080

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

No comments:

Post a Comment

Post Top Ad

Your Ad Spot

Pages