Monday, December 25, 2023

SOLVED Gauri Shankar Secondary School - Nisdi-4, Mityal,Palpa PRE SEE EXAM 2080


 Pre-SEE  Exam - 2080

Gauri Shankar Secondary School

Nisdi-4, Mityal,Palpa

Subject:- Computer Science

Grade:- 10 (SEE)                                                                                                      FM :-50

Time:- 1.5 Hrs.

Attempt all questions

 

( Very Short Questions-10 Marks)

Group-A

 

1. Answer the following questions  in  one  sentence:       6x1=6

 

a)     What is internet?

Ans: The Internet is a global network of interconnected computers that allows people to share information and communicate from anywhere in the world.

 

b)    Define cloud computing.

Ans: Cloud Computing refers to storing and accessing data and programs over the internet instead of storing on secondary storage devices.

 

c)     What is meant by primary key in MS-Access?

Ans: A primary key is a field or combination of fields in a table that uniquely identifies each record, and is used to establish relationships between tables and enforce data integrity.

 

d)    Which data type is suitable to store salary of an employee in MS-Access?

Ans: Currency data type is suitable to store salary of an employee in MS-Access.

 

e)     Write any two advantages of modular programming.

Ans: Any two advantages of modular programming are:

i) Different programmers can design different program modules independently, which is required in a large and complex program.
ii) It is easy to design, code and test the program modules independently.

 

f)      Write any two differences between Q-Basic and C-language.

Ans: Any two differences between Q-Basic and C-language

QBASIC

C

It is a high level language without feature of low level language.

It is a high level language with some features of low level language.

It is mostly used to design application software.

It is mostly used to prepare system software.

 

2. Write appropriate technical term of the following:

a)     The smallest unit of represent in format on quantum computer. quantum bit (qubit)

b)     Laws made to prevent criminal activities through the internet.  Cyber Law

 

3. Write the full forms of the following:

a) VPN - Virtual Private Network

b) DNS - Domain Name System

 

 

 

 

 

 

 

Group-B

 

Short Questions -24 Marks

 

 

4) Answer the following questions in short.           9x2=18

 

a)     What is network topology? List any two types of network topology.

Ans: Network topology is the cabling structure of interconnected computers in LAN.

Any two types of network topology are bus topology and star topology.

 

b)    What is antivirus software? Name any two popular antivirus software.

Ans: Antivirus software is software designed to detect and remove virus from computer system and ensures virus free environment.  

Any two popular antivirus software are Kaspersky and McAfee

 

c)     What is virtual reality? Write any two areas where it is used.

Ans: Virtual reality is an artificial environment created with computer hardware and software and presented to the user in such a way that it appears and feels like a real environment.

Any two areas where it is used are:

Gaming-  VR Gaming allows players to immerse (dip) themselves in virtual world and interact with

environment and characters

Education - VR can help students learn by making the content more engaging and memorable.

 

d)    What is E-commerce? List any two advantages of it.

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

Any two advantages of it are:

It makes buying/selling possible 24/7.

It makes buying selling procedure faster, as well as easy to find products.

 

e)     What is E-Learning? Write some examples of it.

Ans: E-learning is a new concept of delivering digital contents in learner oriented environment using information and communication technology (ICT).

Examples are Virtual Classrooms from Zoom and Google Meet, Online textbooks and eBooks, Video based learning platforms like YouTube etc.

 

f)      What is data processing? Distinguish data & information.

Ans: Data processing is the method of collecting raw data and translating it into usable information.

Difference between data and information are:

Data

Information

·       Data are raw, unorganized facts that need to be processed which have no meaning. 

·       Data measured in bits and bytes.

·       Data never depends on information.

·       E.g.: Ram, student, 20, etc.

·       Information is processed or organized data that has meaning and context for its users.

·       Information is measured in meaningful units like time, quantity, etc.

·       Information is dependent on data.

·       E.g. “Ram is a student. He is 20 years old.”, is information that gives a complete sense.

 

g)     What is DBMS? Write any four software of DBMS.

Ans: DBMS is a software that manages databases, allowing users to store, access, and manipulate data in an organized and secure way.

Any four software of DBMS are : MS-Access, Oracle, Fox pro, dBase etc.

 

h)    What is data sorting? List any two advantages of using it.

Ans: Sorting refers to the process of organizing data in a specific order (ascending or descending) based on one or more fields in a table, query, or report.

Any two advantages of using it are:

Sorting helps to organize data and make it easier to find and retrieve specific information.

Sorting can save time and improve efficiency by allowing users to quickly access the data they need

 

i)      What is Form? Write down the importance of form.

Ans: Form is a database object that provides a graphical interface for users to view, enter, and edit data from one or more tables, queries, or other data sources.

The importance of forms are:

Forms provide an easy-to-use interface for data entry and manipulation, improving data accuracy and completeness.

Forms enable users to customize the look and feel of data input screens

 

Write down the output of the given program :

DECLARE SUB result ( )

CALL result

 END

 

SUB result

FOR i = l TO 9 STEP 2

sum=sum+i^2

NEXT i

PRINT  sum

END SUB

 

Dry Run

i

sum=sum+i^2

Print sum

1

0+1^2=1

165

3

1+3^2=10

 

5

10+5^2=35

 

7

35+7^2=84

 

9

84+9^2=165

 

 

Output of the program is:

165

 

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

DECLARE SUB VOLUME (l,b,h)

CLS

INPUT "ENTER length, breadth & height";l, b, h

EXECUTE VOLUME

SUB VOLUME(l,b,h)

V=lxbxh

PRINT "The volumeis";V

END FUNCTION

 

Debugged Program

DECLARE SUB VOLUME (l,b,h)

CLS

INPUT "ENTER length, breadth & height";l, b, h

CALL VOLUME (l, b, h)

END

 

SUB VOLUME(l,b,h)

V=l*b*h

PRINT "The volume is";V

END SUB

 

7) Study  the following program  and  answer  the following questions: (2x 1=2)

DECLARE  FUNCTION NUM(N)

INPUT N

S = NUM(N)

PRINT S

END

FUNCTION NUM(N)

X = INT(17/N)

Y =15 MOD N

NUM = X + Y

END FUNCTON       

 

i. What is the name of function used in above program?

Ans: The name of function used in above program is NUM ( ).

 

ii. List the mathematical function used in above program.

Ans: The mathematical function used in above program is INT ( ).

 

 

Group-C

 

(Long Questions-16 Marks)

 

8. Convert or Calculate as per the instructions:   (4x1=4)

i)  (1010101)2=  (?)10                         ii) (AE7)16=(?)2

iii) (1111)2 × (101)2 – (1000)2          iv) (1111)  ¸ (11)

 

9. a . Write a program in Q-BASIC that asks length, breadth & height of cuboid & calculate its TSA & Volume. Create a Sub procedure to calculate TSA and function procedure to calculate volume.) [ Hint:- TSA =2pr (r + h) & V= pr2h]

 

DECLARE SUB TSA (R, H)

DECLARE FUNCTION VOL(R, H)

CLS

INPUT “Enter Radius”; R

INPUT “Enter Height”; H

CALL TSA(R, H)

PRINT “Volume of cuboid=”; VOL(R, H)

END

SUB TSA(R, H)

T=2*3.14*R*(R+H)

PRINT “Total Surface Area of Cuboid=”; T

END SUB

 

FUNCTION VOL(R, H)

VOL=3.14*R^2*H

END FUNCTION

 

b) A sequential datafile called 'STUDENT.DAT' contains NAME, CLASS,SECTION & ADDRESS fields. Write a program to display all the contents of that datafile.

 

OPEN “STUDENT.DAT” FOR INPUT AS #1

CLS

PRINT “NAME”, “CLASS”, “SECTION”, “ADDRESS”

WHILE NOT EOF(1)

INPUT #1, N$, C, S$, A$

PRINT N$, C, S$, A$

WEND

CLOSE #1

END

 

10. Write a program in C-Language to find the area of four walls.        4

{Hint:- A = 2h(l+b)}

 

#include<stdio.h>

#include<conio.h>

int main()

{

int l,b,h,a;

printf("Enter length: ");

scanf("%d", &l);

printf("Enter breadth: ");

scanf("%d", &b);

printf("Enter height: ");

scanf("%d", &h);

a=2*h*(l+b);

printf("Area of four walls= %d", a);

return 0;

}

 

 

(OR)

Write a program in C-Language that asks a number and check whether it is even or odd.

 

 

#include<stdio.h>

#include<conio.h>

int main()

{

int n;

printf("Enter any number: ");

scanf("%d", &n);

if(n%2==0)

printf("%d is even number", n);

else

printf("%d is odd number", n);

return 0;

}

 

 

 

BEST OF LUCK

No comments:

Post a Comment