[go: up one dir, main page]

0% found this document useful (0 votes)
10 views22 pages

1722611013computer Science Sample Paper

Computer science Master of computer applications
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)
10 views22 pages

1722611013computer Science Sample Paper

Computer science Master of computer applications
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/ 22

WIN CUET Computer Science 01

DIRECTIONS for the question: Mark the best option:

Question No. : 1

Why a Python program does not execute properly?

A) Logical errors in the code B) Syntax errors C) Runtime errors D) All of the above

Question No. : 2

What are custom exceptions called?

A) Built-in exceptions B) User-defined exceptions C) Raising exceptions D) None of the these

Question No. : 3

What displays when an assertion error is thrown?

A) “OOPS…. Negative Number” B) No execution C) “OOPS : An Exception has occurred”


D) None of the above is correct

Question No. : 4

Which technique is helpful in capturing runtime errors?

A) Raise statement B) Assert statement C) Exception handling D) None of these

Question No. : 5

Exception handling can be done for both

A) user-defined exceptions B) built-in exceptions C) None D) Both

Question No. : 6

What happens when no exception handler is found?

A) The code is executed B) The search continues C) The program terminates D) Exception is raised

Question No. : 7

When multiple except blocks are used?

A) For handling more than one type of errors B) For handling a specific type of error C) In both the cases
D) None of these are true

Question No. : 8

What message is displayed after the use of finally clause?

A) “OVER AND OUT” B) “OOPS.....SOME EXCEPTION RAISED” C) None of these D) Both of them

Question No. : 9

What contains codes to be executed if no exception occurs?

A) Finally block B) Else clause C) Try block D) None of this

Question No. : 10

What statements are used to raise exceptions?

A) Raise exceptions B) Assert exceptions C) None of these D) Both of these


WIN CUET Computer Science 01
Question No. : 11

_____ used in a program have a lifetime that lasts till the time the program is under execution.

A) Variables B) Execution C) Errors D) Data

Question No. : 12

_____ consists of human-readable characters, which can be opened by any text editor.

A) Binary files B) Text files C) Both of them D) None of these

Question No. : 13

Value of each character of the text file is stored as ____

A) ASCII scheme B) Unicode scheme C) Bytes D) None

Question No. : 14

Binary files represent content like-

A) Images B) compressed versions of files C) videos D) All of these

Question No. : 15

We can read and write both text and binary files through _____

A) Java B) JavaScript C) Python D) All of the above

Question No. : 16

Python has _____ that contains different functions for handling files.

A) Io module B) Text files C) Exceptions D) None of these

Question No. : 17

Which file mode opens the file in binary and read-only mode?

A) B) C) or <+r> D) None of these

Question No. : 18

The syntax of close () is: _______

A) file_close.object B) file_object.close() C) object_file.close() D) None

Question No. : 19

A file is opened in ____ to write in

A) Write mode B) Append mode C) None D) Both

Question No. : 20

What are iterable objects?

A) Tuple B) Lists C) Both D) None

Question No. : 21

If no argument or a negative number is specified in read(), the entire file content is _____

A) Flushed B) Read C) None D) Both


WIN CUET Computer Science 01
Question No. : 22

Reading the entire file line by line using the readline() is said to be

A) Making arguments B) Looping C) Saving D) Writing

Question No. : 23

In which method, the list element ends with newline character?

A) Readline (n) B) Readlines () C) Read () D) None

Question No. : 24

The filehandle named _____ is returned.

A) object B) txtfile C) both D) None

Question No. : 25

How Python lets us access data in a random fashion?

A) With seek () method B) With tell () method C) Both D) None

Question No. : 26

_________ indicates the starting position of the file object.

A) File object B) Error C) Seek () D) Reference point

Question No. : 27

______ is used to create a file

A) Read () B) Readlines () C) Open () D) All of these

Question No. : 28

The file will be opened in read mode, and reading will begin from ______

A) Middle B) Beginning C) End D) Different every time

Question No. : 29

In single file object, the file will be opened in ____ mode

A) Write B) Read C) W+ D) Any

Question No. : 30

_____ is used for serializing and de-serializing any Python object structure.

A) Raise B) Any C) Pickle D) None

Question No. : 31

The Pickle Module must be imported to ______

A) Load data B) Dump data C) Both D) None

Question No. : 32

The file should be loaded in ____ mode

A) binary write mode B) read mode C) write mode D) binary read mode
WIN CUET Computer Science 01
Question No. : 33

Which technique is followed by Queue?

A) FIFO B) INFO C) LIFO D) Tree

Question No. : 34

A linear list of elements from which deletion can be done from one end and insertion can take place only at the other end is
known as a-

A) Queue B) Stack C) Tree D) Linked list

Question No. : 35

Data structure queue is also known as ____ list

A) First in, first out B) First in last out C) Last in first out D) All of these

Question No. : 36

In which data structure element is inserted at one end called rear and deleted at other end called a front.

A) stack B) Queue C) Both D) Tree

Question No. : 37

If a user tries to remove an element from an empty Queue, it is called.

A) underflow B) Empty collection C) Overflow D) Garbage collection

Question No. : 38

Queue follows ___ order

A) FIFO B) LIFO C) Random D) None of these

Question No. : 39

Objects always get removed from the other end, usually called

A) TAIL B) FRONT C) REAR D) HEAD

Question No. : 40

In operation on Queue, the FIFO approach, data structure queue supports the following operation

A) ENQUEUE B) DEQUEUE C) Both a and b D) None of these

Question No. : 41

______ used to check whether the Queue has any element or not

A) IS FULL B) PEEK C) IS EMPTY D) None

Question No. : 42

Front of the Queue

A) left B) Right C) Upper D) Bottom

Question No. : 43

Creating a queue name myqueue use can create

A) myQueue add list B) myQueue = list ( ) C) myqueue = list ( ) D) Myqueue list


WIN CUET Computer Science 01
Question No. : 44

To delete an element from the front of the Queue. It has parameter

A) name of the queue B) Return the deleted element C) Both a and b D) None of these

Question No. : 45

What is the pronounced to Deque

A) Duck B) Dack C) Deck D) None of these

Question No. : 46

What is the meaning of Pop in dequeue

A) Removal B) Addition C) Delection D) Insertion

Question No. : 47

In a deque, if insertion and deletion of elements are done from the opposite end, it will behave as

A) Queue B) Stack C) List D) None of the above

Question No. : 48

_____ operation is the same as, i.e. is to remove an element from the form of the Queue

A) INSERT REAR B) DELETION FRONT C) DELETION REAR D) INSERT FRONT

Question No. : 49

What is used in the operation of deque for remove on the character from the front and one character from the rear

A) DELETION REAR B) DELETION FRONT C) Both a and b D) None of these

Question No. : 50

A function ____ to check the presence of elements in deque will be the same function.

A) IS EMPTY B) Rear C) Front D) Is Empty ( )


WIN CUET Computer Science 02
DIRECTIONS for the question: Mark the best option:

Question No. : 1

Which error is known as parsing error?

A) Runtime error B) Syntax errors C) logical error D) None of the above

Question No. : 2

What does Python displays other than the error message?

A) Stack traceback B) No execution C) A string D) Nothing at all

Question No. : 3

What is exception handling

A) Give instructions to the user via messages B) Writing additional codes C) Encountering an exception
D) All of the above

Question No. : 4

_______ is a useful technique that helps in capturing runtime errors and to avoid program crashing.

A) Assert statement B) Raise statement C) Exception handling D) None of these

Question No. : 5

_____ is a complex mechanism consisting of hardware and software that comes into action as soon as the program is put for
execution

A) Exception object B) Runtime system C) Exception handlers D) Raise statement

Question No. : 6

Caught exceptions are handled in ____ block?

A) Try block B) Except block C) Both of these D) None of these

Question No. : 7

If Zero Division Error exception will not appear on the search then-

A) “OOPS.....SOME EXCEPTION RAISED” will display B) "Only INTEGERS should be entered"


C) "Handling multiple exceptions” D) None of the above

Question No. : 8

When the finally clause will be used first?

A) If there is no handler code B) If there is no error C) If there are many errors D) If there are no except clauses

Question No. : 9

_____ is a Python object that represents an error.

A) Syntax errors B) Small description C) Exception D) All of the above

Question No. : 10

statements inside the ______ block are always executed

A) Finally B) Else C) Try D) None


WIN CUET Computer Science 02
Question No. : 11

Where is data stored permanently for reusability?

A) Secondary storage devices B) Primary storage devices C) None D) Both

Question No. : 12

Which files are made up of non-human readable characters and symbols?

A) Text files B) Binary files C) Both D) None

Question No. : 13

Each line of a text file is terminated by a special character called ______

A) EOL B) Special character C) Bytes D) File

Question No. : 14

______ files are stored in a computer in a sequence of bytes.

A) Text B) Binary C) None D) Both

Question No. : 15

Computer programs deal with data coming from-

A) JSON B) HTML C) None of these D) Both of these

Question No. : 16

_____ establishes a link between the program and the data file stored in the permanent storage.

A) Text file B) Binary file C) file object D) extension

Question No. : 17

What opens in append and read modes?

A) myObject B) C) myfile.txt D) All of these

Question No. : 18

What happens to any unsaved and unwritten file?

A) Saved Automatically B) Remains as it is C) Flushed off D) None of these

Question No. : 19

Which method is used to write a single string in a file?

A) Write () B) WriteLine () C) None D) Both

Question No. : 20

Which mode is appropriate to read a file?

A) “r” B) “r+” C) “w+” D) All of the above

Question No. : 21

To read the entire file line by line using the readline(), we can use ____

A) A phrase B) A loop C) None D) Both


WIN CUET Computer Science 02
Question No. : 22

When an empty string is returned?

A) When EOF is reached B) When error is made C) When file is read D) None of this

Question No. : 23

Which method/function is used to display each word separately?

A) Looping B) Split () C) Divide D) None

Question No. : 24

The file named ______ is opened in write mode

A) objectfile.txt B) testfile.txt C) txt.file D) None

Question No. : 25

Which function returns an integer that specifies the current position of the file object in the file?

A) Seek () B) Tell () C) None D) Both

Question No. : 26

By default, the value of reference_point is _____

A) 0 B) 1 C) 3 D) 10

Question No. : 27

All the files to be opened will be lost in ______

A) Write mode B) Read mode C) None D) Both

Question No. : 28

How lines are displayed?

A) With Print () B) With Readlines () C) With Read () D) All of these

Question No. : 29

All types of data are included as ______

A) Files B) Documents C) Objects D) All

Question No. : 30

_____ is a method of preserving food items by placing them in some solution.

A) Serialization B) De-serialization C) Pickling D) All of these

Question No. : 31

____ method is used to convert (pickling) Python objects for writing data in a binary file

A) Dump () B) Load () C) None D) Both

Question No. : 32

Each employee record is stored as a list in the file named _____

A) empfile.dat B) empfile.doc C) empfile.txt D) empfile.object


WIN CUET Computer Science 02
Question No. : 33

LIFO full form

A) Logical in first out B) First in, first out C) Last in first out D) Last in logical out

Question No. : 34

A queue is a

A) FIFO list B) LIFO list C) Ordered array D) Linear tree

Question No. : 35

In a Queue, insertions take place at the end

A) front B) Top C) Rear D) Any

Question No. : 36

Insertion and Deletion operation in Queue are known as

A) Push and pop B) Enqueue and dequeue C) Insert and delete D) None

Question No. : 37

What is the term for inserting into a full queue known as

A) overflow B) Underflow C) Null pointer exception D) The program won't be compiled

Question No. : 38

The element that has been longest in the Queue will be removed first, it is also known as

A) LIFO B) FIFO C) FCFS D) LCLS

Question No. : 39

REAR is known as

A) FRONT B) HEAD C) TREE D) TAIL

Question No. : 40

______ is used to insert a new element to the Queue at the rear end

A) ENQUEUE B) DEQUEUE C) Both D) None

Question No. : 41

____ used to view elements at the front of the Queue

A) IS EMPTY B) IS FULL C) Both a and b D) PEEK

Question No. : 42

Rear on the Queue

A) upper B) Bottom C) Right D) Left

Question No. : 43

____ functions always adds an element at the end of the list, hence rear of queue

A) def. enqueue B) (element): C) Myqueue ( ) D) Append ( )


WIN CUET Computer Science 02
Question No. : 44

A function ____ to get the number of elements in Queue

A) number ( ) B) (myqueue) C) (size) D) Return ( )

Question No. : 45

Dequeue is also known as

A) Single-ended queue B) Double-ended queue C) Tripple ended queue D) Both A and B

Question No. : 46

Basic deque structure displaying ___ to implement Queue

A) head B) Tail C) Only a D) Both a and b

Question No. : 47

_____ operation, which is used to insert a new element at the front of the dequeue?

A) DELETION REAR B) DELETION FRONT C) INSERT REAR D) INSERT FRONT

Question No. : 48

This operation is used to remove one element at a time from the rear of the deque

A) INSERT FRONT B) INSERT REAR C) DELETION FRONT D) DELETION REAR

Question No. : 49

How to create a statement deque with the name mydeque

A) mydeque list B) mydeque list ( ) C) Anydeque = list D) mydeque = list ( )

Question No. : 50

A function _____ to delete an element from the rear of the deque.

A) my Deque delete ( ) B) Deletion Front ( ) C) Removal Front ( ) D) Deletion Rear ( )


WIN CUET Computer Science 03
DIRECTIONS for the question: Mark the best option:

Question No. : 1

When all the exceptions are generated? If the program is-

A) Syntactically correct B) Logically accurate C) Having no runtime error D) Not at all correct

Question No. : 2

Which statement is used to test an expression in program code?

A) Raise statement B) Assert statement C) Both of them D) None of them

Question No. : 3

Which of the following programming languages use exception handling?

A) Python B) Ruby C) Java D) All of the above

Question No. : 4

____ separate the main logic of the program from the error detection and correction code.

A) Interpreter B) Exception handlers C) Compiler D) All of the above

Question No. : 5

The program of executing a suitable handler is known as _____

A) Catching the exception B) Call stack C) Exception handlers D) Runtime system

Question No. : 6

What results in message- “Denominator as Zero…. not allowed”?

A) When the value of denominator is zero B) value of denominator is non-zero C) Any value of denominator
D) None of these values

Question No. : 7

_____ is used while working with files to ensure that the file object is closed.

A) Except Blocks B) Try Blocks C) Finally Clause D) Else Block

Question No. : 8

_____ continues to be raised after execution of finally.

A) Raise statement B) Assert statement C) exception D) errors

Question No. : 9

Which is a commonly occurring built-in exceptions?

A) Syntax error B) Name error C) Type error D) All of these

Question No. : 10

The additional code is known as ____

A) Assert statement B) Exception C) Else clause D) Exception handler


WIN CUET Computer Science 03
Question No. : 11

Python programs written in script mode with a _______

A) .py extension B) .jpg extension C) .docx D) None of these

Question No. : 12

Which of the following extensions illustrate text files?

A) .txt B) .py C) .csv D) All of these

Question No. : 13

Contents in a text file are usually separated by

A) whitespace B) comma (,) C) tab (\t) D) All of these

Question No. : 14

Even a single ____ change can corrupt the file and make it unreadable

A) Bit B) Error C) Text D) None

Question No. : 15

Why do we access the files?

A) Creating and opening a file to read B) Writing data in a file, C) Traversing a file D) All of these

Question No. : 16

What is also referred to as a processing mode?

A) Filename B) File object C) access mode D) file mode

Question No. : 17

_____ provides a close () method to close the file

A) Python B) Java C) None D) Both

Question No. : 18

The advantage of using with clause is that any file that is opened using this clause is ______

A) saved B) not moved C) closed automatically D) manually closed

Question No. : 19

Which method is used to clear the buffer and write contents in buffer to the file?

A) WriteLine () B) Flush () C) Write () D) None

Question No. : 20

_____ method is used to read a specified number of bytes of data from a data file.

A) Read () method B) ReadLine (n) method C) ReadLines () method D) None

Question No. : 21

___________ method can also be used to read a specified number (n) of bytes of data from a file.

A) Read () B) Readlines () C) Readline (n) D) All of these


WIN CUET Computer Science 03
Question No. : 22

__________ method reads all the lines and returns the lines along with newline as a list of strings.

A) Read () B) Readlines () C) Readline (n) D) All of these

Question No. : 23

Why split lines() is used instead of split()?

A) To enable each line returned as element of a list B) To enable proper splitting C) To remove errors while splitting
D) None of these

Question No. : 24

The string is accepted from the user and written in the file using-

A) write () B) Read () C) Readlines () D) Split ()

Question No. : 25

____ is used to position the file object at a particular position in a file.

A) Tell () B) Seek () C) Write () D) Read ()

Question No. : 26

Where to work to perform operations in a text file?

A) txt.file B) file.object C) practice.txt. D) None of these

Question No. : 27

In _____ mode, the new data will be written after the existing data.

A) Append B) Write C) Read D) All of these

Question No. : 28

How to close a file?

A) With Close () B) With End () C) With Print () D) None of these

Question No. : 29

To save any object structure along with data, Python provides a module called

A) Pickle B) Error C) Raise D) Medium

Question No. : 30

______ is the process of transforming data or an object in memory (RAM) to a stream of bytes called

A) Serialization, Byte streams B) De-serialization, Pickling C) De-pickling, Byte streams D) Serialization, Pickling

Question No. : 31

Where dumped files should be opened?

A) write mode B) binary write mode (wb) C) read mode D) None

Question No. : 32

Which technique is followed by stack?

A) LIFO B) FIFO C) INFO D) Tree


WIN CUET Computer Science 03
Question No. : 33

FIFO full form

A) Logical in first out B) First in, first out C) Last in first out D) Last in logical out

Question No. : 34

If the element 'A, B, C and D are placed in Queue and are deleted one at a time, in what order will they be renowned

A) ABCD B) DCBA C) DCAB D) ABDC

Question No. : 35

In a queue, the deletion takes place at ___ end

A) front B) Top C) Rear D) Any

Question No. : 36

__________ form of access is used to add and remove nodes from a queue

A) LIFO, last in first out B) FIFO, first in, first out C) Both a and b D) None of these

Question No. : 37

A queue in which elements get added in an empty area in the front of a queue is called

A) full Queue B) Circular queue C) Rounded queue D) Rotated Queue

Question No. : 38

Queue is an arrangement in which new objects/items always get added at one end called is _

A) FRONT B) HEAD C) TAIL D) REAR

Question No. : 39

Sometimes on calling a customer service centre, takes on which system tells us to wait list support person is available

A) VRSI B) RSIV C) IVRS D) None of these

Question No. : 40

________ is used to remove one element at a time frame the front of Queue.

A) ENQUEUE B) DEQUEUE C) None of these D) Both a and b

Question No. : 41

____ is used to check whether any more elements can be added to the Queue or not

A) IS FULL B) PEEK C) IS EMPTY D) Both a and b

Question No. : 42

What is the correct status of the Queue after the operation?

A) enqueue (z) F →Z→ R B) Dequeue (i) F →V→ R C) enqueue (c) F →Z X C→ R D) Both a, b and c

Question No. : 43

What is the correct option for checking the length of the Queue

A) return true B) Return false C) Is empty D) My queue = = 0


WIN CUET Computer Science 03
Question No. : 44

What is used function of Python's list to find the number of elements in the Queue

A) size ( ) B) len ( ) C) dequeue ( ) D) enqueue ( )

Question No. : 45

What is the meaning of Push in Dequeue

A) Inserting B) Delection C) Removal D) None of these

Question No. : 46

In a queue, if insertion and deletion of elements are done from the same end, it will behave as

A) Queue B) Stack C) List D) None of the above

Question No. : 47

_____ operation is the same as a normal queue, insert a new element at the rear of the Queue

A) DELETION REAR B) INSERT REAR C) DELETION FRONT D) INSERT FRONT

Question No. : 48

To perform operations efficiently on a queue, we will need supporting operations used in a normal Queue

A) ISEMPTY B) Peek C) Size D) All of these

Question No. : 49

A function ___ to insert an element at the rear of dequq

A) enqueue ( ) B) Insert rear ( ) C) Insert rear (.) D) Element

Question No. : 50

What is correct option

A) P (queue empty) B) Print (queue empty) C) Print queue empty ( ) D) Print (“Queue empty”)
WIN CUET Computer Science 04
DIRECTIONS for the question: Mark the best option:

Question No. : 1

How to read value from the front of deque, without remaining if from the queue

A) def get front (my deque): B) Def get front my deque ( ): C) def get rear (my deque): D) Def get front ( ) my dequq

Question No. : 2

Operations on a queue are performed in _______ order.

A) LIFO B) LILO C) FIFO D) FCFS

Question No. : 3

Deletion of elements is performed from ___ end of the queue

A) Front B) Rear C) Tail D) FIFO

Question No. : 4

A deque contains ‘Z’, ‘X’, ‘C’ ‘V’ and ‘B’. Elements received after deletion are ‘z’, ‘b’, ‘v’, ‘x’ and ‘c’ ___ is the sequence of deletion
operation performed on deque.

A) Deletion FRONT ( ) B) Detection REAR ( ) C) Deletion rear D) All of the above

Question No. : 5

How many methods have you learned of sorting.

A) One B) Two C) Three D) Four

Question No. : 6

How a many elements means changing their positions with each other

A) Two B) Three C) Four D) Five

Question No. : 7

____ explain how an algorithm will perform when the input grows larger

A) sorting B) Merging C) Complexity D) Searching

Question No. : 8

In ____ the smallest element is selected from the unsorted array and swapped with the leftmost element, and that element
becomes a part of the sorted array

A) Bubble sort B) Insertion sort C) Complexity sort D) Selection sort

Question No. : 9

Selection sort list is considered to be divided into two list

A) Left list B) Right list C) Both a and b D) None of these

Question No. : 10

The nth element is the ____

A) First B) Last C) Only A D) None


WIN CUET Computer Science 04
Question No. : 11

Which of the following is not a stable sorting algorithm?

A) Insertion sort B) Selection sort C) Bubble sort D) Merge sort

Question No. : 12

How many passes does an insertion sort algorithm take to sort an array of n elements?

A) N B) N-1 C) N+1 D) N2

Question No. : 13

Which of the following real time examples is based on insertion sort?

A) Arranging a pack of playing cards B) Database sceneries and distributes C) Arranging books on a library shelf
D) Real-time system

Question No. : 14

The amount of time an algorithm takes to process a given date can be called its time

A) More B) Large C) Sort D) Complexity

Question No. : 15

Selection sort first finds the element in the list and puts it in the first position

A) Middle element B) Largest element C) Last element D) Smallest element

Question No. : 16

If the number of records to be sorted is large and the key is long, then. ____ sorting can be efficient

A) Merge B) Heap C) Quick D) Bubble

Question No. : 17

The total number of comparisons in a bubble sort is

A) O (n log n) B) O (2n) C) O (n2) D) O (n)

Question No. : 18

_____ sorting algorithm is frequently used when n is small where n is the total number of elements

A) Heap B) Insertion C) Bubble D) Quick

Question No. : 19

___ means locating a particular element in a collection of elements

A) Sort B) Stack C) Queue D) Searching

Question No. : 20

_____ is the most fundamental and the simplest search method.

A) Binary search B) Linear search C) Hash search D) Sort search

Question No. : 21

Each element in the list is compared one by one with the ___

A) List B) Number C) Key D) Algorithm


WIN CUET Computer Science 04
Question No. : 22

Complexity of linear search algorithm is

A) O(n) B) O(log n) C) O(n2) D) O(n log n)

Question No. : 23

Which of the following searching techniques do not require the data to be in sorted form

A) Binary search B) Interpolation search C) Linear search D) All of the above

Question No. : 24

What is the best case for linear search

A) O (n log n) B) O (log n) C) O (n) D) O (1)

Question No. : 25

Which of the following is the disadvantage of linear search?

A) Requires more space B) Greater time complexities compared to other searching algorithms C) Not easy to understand
D) Not easy to implement

Question No. : 26

The key to be searched is compared with the element of the three possibilities

A) the element at the middle position itself matches the key B) the element at the middle position is greater than the key
C) the element at the middle position is smaller than the key D) all of above

Question No. : 27

In general, the binary search method needs no more than comparisons?

A) [log2n]-1 B) [log n] + 1 C) [log2n] D) [log2n]+2

Question No. : 28

Binary search algorithm cannot be applied to

A) Sorted linked list B) Sorted binary trees C) Sorted linear array D) Pointer array

Question No. : 29

The number of comparisons do by sequential search is

A) (N/2)+1 B) (N + 1)/2 C) (N – 1)/2 D) (N + 2)/2

Question No. : 30

In binary search, the average number of comparisons required for searching an element in a list if n number is

A) log2n B) n/2 C) n D) n-1

Question No. : 31

Modified binary search techniques have for reaching applications such as

A) Indexing in database B) Implementing routing tables in routers C) Data compression code D) All of above

Question No. : 32

A simple hash function that works with numeric values is known as the

A) Linear method B) Binary method C) Search method D) Remainder Method


WIN CUET Computer Science 04
Question No. : 33

The searching technique that takes o (1) time to find a data is

A) Linear search B) Binary search C) Hashing D) Tree search

Question No. : 34

Key-value pairs are usually seen in

A) Hash table B) Heaps C) Both a and b D) Skip list

Question No. : 35

What is a hash function?

A) A function has allocated memory to keys B) A function that computes the location of the key in the array
C) A function that creates an array D) None of these

Question No. : 36

In simple uniform hashing, what is the search complexity

A) O (n) B) O (log n) C) O (n log n) D) O (1)

Question No. : 37

Arranging the customers names in ascending order is an example of

A) Process B) Information processing C) Data D) Information

Question No. : 38

Organization, distribution and manipulation of information is classified as

A) Data manipulation B) Process selection C) Information extraction D) Information processing

Question No. : 39

Governments systematically called and record data about the population through a process called

A) Information B) Knowledge C) Census D) Data

Question No. : 40

Data need to be gathered ________ and for making decisions

A) Processed B) Analyzed C) None of these D) Both A & B

Question No. : 41

Data represent values of some

A) Situations B) Variables C) Both a and b D) None of these

Question No. : 42

The total forms of big data is

A) 1 B) 2 C) 3 D) 4

Question No. : 43

This is processed information that comes out of a computer system

A) Input B) Process C) Output D) Feedback


WIN CUET Computer Science 04
Question No. : 44

How many broad categories in which data can be classified

A) 1 B) 2 C) 3 D) 4

Question No. : 45

Data which is organized and can be recorded in a well defined format is called

A) Unstructured data B) Structured data C) Information D) Only A & B

Question No. : 46

Structured data provides

A) The what B) The why C) Subjective information D) None of these

Question No. : 47

A newspaper contains various types of news items which are also called

A) Data B) Information C) Instruction D) None

Question No. : 48

We can have some metadata for an image file as image size in

A) KB B) MB C) BM D) Both a & b

Question No. : 49

Primary data can be collected through

A) Experiment B) Survey C) Both of the above D) None of these

Question No. : 50

Data are already available in a digital format, say in a

A) SCV B) VSC C) CSV D) None of these


Answer Key

CUET Sample Paper - Answer Key


Computer Computer Computer Computer
Science 01 Science 02 Science 03 Science 04
1. D 1. B 1. A 1. A
2. B 2. A 2. B 2. C
3. A 3. D 3. D 3. A
4. C 4. C 4. B 4. D
5. D 5. B 5. A 5. C
6. C 6. B 6. A 6. A
7. A 7. A 7. C 7. C
8. A 8. A 8. C 8. D
9. B 9. C 9. D 9. C
10. D 10. A 10. D 10. B
11. A 11. A 11. A 11. B
12. B 12. B 12. D 12. B
13. C 13. A 13. D 13. A
14. D 14. B 14. A 14. D
15. C 15. D 15. D 15. D
16. A 16. C 16. C 16. C
17. B 17. C 17. A 17. A
18. B 18. C 18. C 18. B
19. D 19. A 19. B 19. D
20. C 20. D 20. A 20. B
21. B 21. B 21. C 21. C
22. B 22. A 22. B 22. A
23. B 23. B 23. A 23. C
24. A 24. B 24. A 24. D
25. C 25. B 25. B 25. B
26. D 26. A 26. C 26. D
27. C 27. A 27. A 27. D
28. B 28. A 28. A 28. A
29. C 29. C 29. A 29. B
30. C 30. C 30. A 30. A
31. D 31. A 31. B 31. D
32. D 32. A 32. A 32. D
33. A 33. C 33. B 33. C
34. A 34. A 34. A 34. A
35. A 35. C 35. A 35. A
36. B 36. B 36. B 36. D
37. A 37. A 37. B 37. B
38. A 38. C 38. D 38. D
39. B 39. D 39. C 39. C
40. C 40. A 40. B 40. B
41. C 41. D 41. A 41. C
42. A 42. C 42. D 42. D
43. B 43. D 43. C 43. C
44. C 44. C 44. B 44. B
45. C 45. B 45. A 45. B
46. C 46. D 46. B 46. C
47. A 47. B 47. B 47. A
48. B 48. D 48. D 48. D
49. C 49. D 49. B 49. C
50. D 50. A 50. D 50. C

You might also like