0% found this document useful (0 votes)
13 views6 pages

Comprehensive Exam

Nothing

Uploaded by

Anshika Pathania
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)
13 views6 pages

Comprehensive Exam

Nothing

Uploaded by

Anshika Pathania
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/ 6

UNIVERSITY

SHRIMATA VAISHNO DEVI


SCIENCE & ENGG
SCHOOL OF COMPUTER
B.Tech Comprehensive Exam(2019-23)
Time:1:30 hrs
Name: Santosh kuma M.Marks 50
Entry no. 9BCS0 65

Mark your answers neatly

6x
11/8, then find the value of 5y +
1. If 2x +3y = 30 and (x+y)/y=
a. 72
u58
c. 64
d. 29
the average weight of three
boys P, Q and R is 54 kg, while
2. The average weight of three R, S and T?
the average weight of P, Q,
boys Q, S and T is 60 kg. What is
a. 66.4 kg
b. 63.2 kg
e.58.8 kg
d. Data Inadequate
e. None of these

and 16/216 of its reciprocal are equal.


Find the positive
3 Two-third of a positive number
number.
a. 9/25
b. 14/4
Le4/12
d. 144/25 23% on the book
Simran is Rs. 63. Despite a discount of
4. Profit of Raj while selling a book to
must be the list price of the book?
Raj manages to get 10% profit. What
a. Rs. 1120
vb. Rs. 560
C. Rs. 900
d. Rs. 750
Speed he is runnng
4 minutes A! what
man crosses a bridge of length 500meters in
5A running
8.5 km/hr
A.

L75 km/hr
C. 9.5 km/hr
D. 6.5 km/hr
6 lol consists
(a) sens0rs
(b) Actuators
O Internel
AI ne above
7. Bluetooth is an example of
personal area network
b) local area netvwork
c) virtual private network
d) wide area network

8. What is computer architecture? functioning organisation, and implementation of


a) set of categories and methods that specify the
computer systems
organisation, and implementation of
set of principles and methods that specify the functioning,
computer systems
implementation of
c) set of functions and methods that specify the functioning. organisation, and
computer systenms
d) None of the mentioned
9 What is an operating system?
a) interface between the hardware and application programs
b) collection of programs that manages hardware resources
c) system service provider to the application programs
all of the mentioned
10. To access the services of the operating system, the interface is provided by the
a) Library
b) System calls
erAssembly instructions
d) API
11. What does stack overflow' refer to?
a) accessing item from an undefined stack
badding items to a full stack
c) removing items from an empty stack
d)index out of bounds exception

12 If a process fails most operating system write the error information to a


a) new file
b) another running process
eiog file
d) none of the mentioned

13. Consider these functions:


push() push an element into the stack
pop()pop the top-of-the-stack element
top() returns the item stored in top-of-the-stack-node
What will be the output after performing these sequence of operations
push(20):
push(4):
top().
pop)
pop).
push(5)
top):
a) 20
b)4
c) stack underfiow

14. What is a dynamic array?


a) A variable Size data structure
b) An array whnich is created at runtime
C) The memory to the array is
allocated at runtime
An array which is reallocated everytime whenever new elements have to be added
15 Minimum number of queues to impiement stack is
a) 3
b) 4
c)1
notation?
infix notationto prefix
16 What data structure is used when converting an
stack
b)Queue
c) B-Trees
d) Linked-list
given equation?
Prefix notation for the
17 What would be the
A+(B'C)
a) +A'CB
b) '8+AC
eABC
d 'A+C8 stack it is called
remove an element from an empty
user tries to
18. In a stack, if a
LarUnderflow
b) Empty collection
c) Overflow
d) Garbage Collection equation?
Prefix notation for the given
19. What would be the
A+8C^D
artA*B^CD
b +A^B*CD
c) "A+B^CD
d) ^A*B+CD
highest priority iS
(^, * + &, S), the one having
20. Out of the following operators
a) +
b) S
d) &
priority is
operators (1 & $) the one having lowest
21 Out of the following
a) t
b) $
d) &
array in C?
22 How do you initialize an
a) int arr[3] = (1,23):
b) int arr(3) = (1.2,3}.
int arr[3) = {1.2,3) "
d) int arr(3) = (1.2.3)
array in Java?
23 How do you instantiate an
a) int arr] = new int(3)
b) int arr):
nt arr] = new int(3]
d int arr() = new int(3) check?
following error can a compiler
24 VWhich of the
Wyntax Erro
b Logical Error
Syritax Error
c) Both Logicai and errors
check
d) Comnpiler cannot Searcti tree
is talse about a binary
25 Which ofthe foliowng
lesser than its parent
a lhe left child IS always
D e ight chld is aiways greater than iks parent
ees
sthouid also be binary Search
he letl and rignt sup-Uees
Worder seGuence gives decreasing order cf elements
inorder traversal of a binary seah tre?
b VVhat is the speciality about the
8i1 uaverses t ation increaShg orier
averses e a Cteasirig order
d) It traverses based on priority of the node
27. What does the following piece of code do?
publicvoidfunc( Tree root)

func(root. left())
func(root. right())
System.out. printin(root.data(0)
a) Preorder traversal
b) Inorder traversal
erPostorder traversal
d) Level order traversal
28. What is the main function of the command interpreter?
a) to provide the interface between the API and
b) to handle the files in the operating system
application program
erto get and execute the next user-specified command
d) none of the mentioned

29. In Cperating Systemns, which of the foilowing islare CPUscheduling algorithms?


a) Priority
b) Round Robin
c) Shortest Job First
LAllof the mentioned·
30. To access the services of the operating system, the interface is provided by the
a) Library
ySystem calls
c) Assembly instructions
d) API

31 CPUscheduling is the basis of


amuitiprogramming operating systems
b) larger mernory sized systems
c) multiprocessor systems
d) none of the mentioned

32 Which one of the following errors will be handie by the operating system?
a) lack of paper in printer
b) connection failure in the network
c) power failure
tall of the mentioned
33 Where is the operating system placed in the memory?
a) either low or high memory (depending on the location of interrupt vector)
nthe low memory
c) n the high memory
d) nonê of the mentioned

34 if a procesS fails nost operating system write the error niormauOn to a


a) new file
b) another running process
wog fie
dnonE of thé menioned
35 0lat ts a alabase?
a Organized collecuort of intormation that cannot be
b Colection of data o accessed uocated anet matgee
nitorfnation without organizna
WOrganized coilecticr of data or intormauon that can be accessed uDdatea ano
d Organizéd colleciom of data that caniot be upaated
ii1g2e

DLiblvSis a high-ieve anguage


BMSsp ocramGlag2Ge
and retrieves data
DBMS stores modifies
the first DBMS?
37 Who created
a) Edgar Frank Codd
b) Charles Bachman
c)Charles Babbage
rSharon B.Codd
the database?
data can be stored in
38 VWhich type of
data
a) Image oriented data
b) Text files containing
audio or video
c) Data in the form of
Alof the above database mianagenent svstem?
following formats data is stored in the
39 In which of the
a) Image
b) Text
lable
d) Graph
is not a type of database?
40 Which of the following
a) Hierarchical
hetwork
C) Distributed
d) Decentralized
example of DBMS?
41 Which of the following is not an
a) MySQL
D) Microsoft Acess
c) IBM DB2
wGoogle
of DBMS?
42 Which of the following is a feature
Redundancy of Data
a) Mininum Duplication and
b) ign Level of Security
c) Single-user Access only
ySupport ACID Property
feature of the database?
43 Which of the following is a
a) No-backup for the data stored
YUser interface provided
C) Lack of Authentication
d) Store data in multiple locations function of the database?
a
44 VWhich of the following is not
a) Managing stored data
Manipulating data
C) Securityfor stored data
and HTML text iS
d) Analysing code
objects in a VWeb page which consists of 4 jpeg images
45 The number of

b)1
C)5
d) 7
represents the values of set mernuershup
46 Which of the tollowing
Degree of truth
b. Probabilities
C. Discrete set
Both a&b
47 The receiver of the datacontrojs the atinount of data that are to be seniay the sence (s referred
to as
wFiow control
b) Error controi
c) Congestion control
d) Error detection

48 The physical layer is concerned with


Lbit-by-Dit delivery
b) process to process delivery
C) application to application delivery
d port to port delivery

49. VWhat is the advantage of recursive approach than an iterative approach?


a) Consumes less memory
Less code and easy to implement
c) Consumes more memory
d) More code has to be written

50 Whch of the tollowing statements iS not rue?


3) Every language defined by any of the automatais also defined by a regular expressio
D) tvery language deined by a reguiar expression can be represented wsirgaDrA
tvery language defined by aregular expression can be represented using NFA withe moves
d) Kegular expression is just another representation for any automata definition

You might also like