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

Coms Test Papers

The document is a mock test for a Computer Science course with a new syllabus, consisting of multiple-choice questions, short answer questions, and programming tasks. It covers various topics including flip-flops, data structures, relational algebra, and C++ programming concepts. The test is structured to assess students' understanding and application of computer science principles over a total of 70 marks.

Uploaded by

160280lakshmi
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)
4 views

Coms Test Papers

The document is a mock test for a Computer Science course with a new syllabus, consisting of multiple-choice questions, short answer questions, and programming tasks. It covers various topics including flip-flops, data structures, relational algebra, and C++ programming concepts. The test is structured to assess students' understanding and application of computer science principles over a total of 70 marks.

Uploaded by

160280lakshmi
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/ 4

Total pages 04: 2025

COMPUTER SCIENCE
(New Syllabus)
Total Time:3 Hours 15 minutes ] [Total Marks :70

1. Find out the correct answer out of the options given against each question :
1x 21 =21

NAND SR lip-flop retains the previousoutput when-


(a)both inputs are 0 (b) both inputs are 1

(c)One inputis 1 (d) None ofthese


() The main advantage of using D-flip flop is
(a) has 2inputs (b)has 2outputs
(c)does not havc a forbiddenstate (d)has toggle state

A pointer is a variable that holds


(a)A memory address as its value (b)A value as address of sector

(c)A valuc ofother variable (d)Noneofthese

(iv) The output of the following 'C code will be


int arr [4]={4,3,2,1};int *P-arT; Printf("In %d, * (P+2));

(a)4 (b) 3 (c) 2 (d) 1

() Theconverted text after data encryption during a secure network transmission is called

(a) Coded text (b)Cipher text

(c)both (a)and (b) (d) None ofthese

(vi) Which ofthe following domain's nature is used to denote any educational institution ?

(a).net (b) .edu (c) .org (d)-gov

(vii) The data related to the description ofa database is called

(a) Data log (b)Data dictionary (c)Data integrity (d) all ofthese.

(viü) Atributes in an ER diagram indicate

(a) various properties ofan object (b)various properties ofan entity

(c)One property of databasc (d)None of these.

cOMS BSU PRAYAS H.S. M1OCK TEST P.T.O.


2

(tx) The metadata in a databaso is usually storcd in the romoftablescallcd


(a)systcm table
(b) Mata table

(c) Log table


(d) vicw tablc

() Ring counter is
(a)Synchronous counter
(b) Up-down asynchronous countcr
(b)Asynchronous counter ()Nonc ofthcsc
(xi) Ina linkcd list.
is required to link a rode with another rode
(a)pointer
(b) Intcger

(c) Aay (d)Allofthese.


(xn) A-4 bit counter can produco a maximum ofhow many output states?
(a) 3 (b) 6 (c) 8 (d) 16
(xüi) The basic unit ofregister is
(a) clock pulse
(b)counter
(c) flip-lop
(d) all ofthesc
(xiv) A Mod-11 countcr counts from 0000 to
(a) 1000 (b) 1001 (c) 1111 (d) 1010
(xv) Which ofthe following statcment returms the
memory address ofinteger variablc P?
(a) &p (b) ++P (c)*p (d) Size ofP)
(xvi) Which ofthe following is a command line argumcnt?

(a)rewind (b) arge (c) write (d) tell


(xvn) Which ofthe following is not uscd as a
language of Internet?

(a) Perl (b) HTML (c) XML (d) COBOL


(xviüi) Which ofthe followingnetwork device is uscd to give dircction to any data packct to rcachits
destination?

(a) HUB (b) Rcpcater (c)Router (d)Bridge


(xix)In a rclational schemaR {A,B, C, D}, ifwefound
type offunctional
AB and B CfromA »C then which
depcndency is this?

(a) Partial (b)Trivial (c) Transitive (d) Nonc ofthese


(xx) Which ofthe followingtype
ofrclational algcbra opcration is requircd to display
the data ofany
column ofa Table?

(a)Selection (b) Projection (c)Sct union


(d) Cartesian product
(xi) What is the propcrty to derive a child from a parcnt class
class in OOP?
(a)Data abstraction
(b) Inheritance

(c)Polymorphism ()Encapsulation

cOMS BSU PRAYAS IHS. MOCK TEST


3
2. Answver the following questions
(Alternatives are to be noted) : 1x 14 =14
() Writc oncdifferencc betwocn latch and lip-flop.

() Drawa circuit diagram ofa basic lip-lop using NOR gatc


(m) What is the data typc ofthe variablcx in the 'c'statcment int *x {10} ;?
Or
What is Null pinter?
(iv) Givc onc cxamplc ofNon-Lincar Data Structurc.

Or
What is the main characteristic of STACK?
(v) Writc the Prefix formofthc infix cxpressionA-B+C.
(vi) Definc Bandwidth.

Or
What do you mcanbyUplink and Downlink?
(vii) Statc onc diflercncc bctwccn Serial and Parallcl Communication .
(vii)What is the main function ofDBA?
(ix) Write the tag uscd for inscrting picturcs in a HTMLdocument with examplc.
Or
What is the function of<TR>tag?
(×) What is the function ofGateway?

Or
Write the function ofRepcatcr.

(xi) Write two features of SISOregister.


(xii) What is the function WEB Browser.
(xii) Write two characteristics ofOOP?
(xiv) What do you mean by Data Encapsulation?

Or

Definc objcct in 'C+ +'.


Answer the following questions (Alternativesare to be noted) : 5 x7=35
3. (a) Explainworking principle ofmaster slave JK Alip-flop.

(b) Writc two differences between Synchronous countcrand Asynchronous counter.

Draw block diagram ofa 4 bit SISO Register. 3+2+2


Or
(a) Explain the working principle ofa johnson Counter.

(b) Write the diflerences between positive cdge triggering and Ncgativc cdgc triggering.

COMS BSU PRAYAS H.S. MOCK TEST P.T.0.


4

(c) What is Shift Register? 3+ 2+2


4. Explain by refrcnce`with cxanplc.
(a) 'Call

(b) Write the algorithmto delete clement fromastack. 4+3


Or
(a) Write down diflerence betwecn structurc and Union. Write the function of frecc().

(b) Writea function in 'C'progamminglanguago to delete the last node ofa linked list.

2+ 1+4
S. (a) Discuss diflerent types ofGuided media.

(b) Write the disadvantagcs ofstar topology.

(c) Write a short note on TELNET", 3+2+2


Or
(a) Definc IP address.

(b) Describe Messageswitching in bricf.

(c) Writc a short note on 'Repcater'. 2+3+2


6. (a) What do you mean by 'Forcign Key? Give cxample.

(b) Explain the 'Setdiference' and 'Cartesianproduct' operation of Relational Algcbra.

(2+ 1) + (2+2)
Or
(a) What do you mean by 3NF in DBMS? Dcscribe 'deletionanomaly'.

(b) Do the following tasks using SQL commands:


Table -Student (Roll no, Name,phonc, Math, Eng, Coms)
()Show the records ofall students whose namc starts with 'S'and got 75 or more in math.

(ii) Show all records ofthe studentaccording to Roll-No. in descending order.

(2+ 1) +(2+2)
7. (a) Write a program in 'C++'tocheck a ycar is leap ycar or not using class and objcct.
(b) What do you mean by 'Data member"?Give cxample. 4+(2+ 1)
Or
(a) Give the difference between Public and Private member ofaclass in C++.
(b) Describe the characteristics ofa constructor in C++.

(c) What do you mcan by 'get from' operator in C++? Give syntax. 3+2+ (1+1)

cOMS BSU PRAYAS H.S. MOCK TEST

You might also like