Exams
Subjects
Classes
Home
CUET (PG)
Data Science A.I Cyber Se...
List of top Data Science A.I Cyber Security and Computer Sci. Questions on Programming and Data Structures asked in CUET (PG)
Match List - I with List - II.
List - I
List - II
A.
typedef in C
I.
modifies the memory allocated to a variable
B.
enum in C
II.
stores memory address
C.
type casting
III.
is similar to struct
D.
pointer
IV.
redefines the name of existing data types
Choose the correct answer from the options given below:
CUET (PG) - 2026
CUET (PG)
Data Science A.I Cyber Security and Computer Sci.
Programming and Data Structures
Consider the following statements :
A. In a binary search tree, left sub tree has smaller value than right sub tree
B. In doubly linked list, only forward traversal is possible
C. In C, a function may not always return a value
D. Two dim array requires two index variables
E. A tree must have at least two nodes
Choose the correct answer from the options given below :
CUET (PG) - 2026
CUET (PG)
Data Science A.I Cyber Security and Computer Sci.
Programming and Data Structures
Consider the following statements in C to write a program in their order of occurrence :
A. Printf("%d", i);
B. void main ( )
C. int i=5;
D. #include <stdio.h>
Choose the correct answer from the options given below :
CUET (PG) - 2026
CUET (PG)
Data Science A.I Cyber Security and Computer Sci.
Programming and Data Structures
Given below are two statements :
one is labelled as
Assertion (A) and the other is labelled as
Reason (R).
Assertion (A) :
++*ptr in C increments the value pointed by ptr.
Reason (R) :
ptr is a pointer.
In the light of the above statements, choose the most appropriate answer from the options given below :
CUET (PG) - 2026
CUET (PG)
Data Science A.I Cyber Security and Computer Sci.
Programming and Data Structures
Which of the following is primitive data type in C ?
CUET (PG) - 2026
CUET (PG)
Data Science A.I Cyber Security and Computer Sci.
Programming and Data Structures
Which of the following is not a non linear data structure ?
CUET (PG) - 2026
CUET (PG)
Data Science A.I Cyber Security and Computer Sci.
Programming and Data Structures
Which of the following is not a keyword in C ?
CUET (PG) - 2026
CUET (PG)
Data Science A.I Cyber Security and Computer Sci.
Programming and Data Structures
Match List I with List II
LIST I
LIST II
(A) Circular Linked List
(I) Recursive Function Calls
(B) Doubly Linked List
(II) Round Robin Queue in CPU
(C) Stack
(III) Hash Tables
(D) Singly Linked List
(IV) Undo and Redo Functionality
Choose the correct answer from the options given below:
CUET (PG) - 2024
CUET (PG)
Data Science A.I Cyber Security and Computer Sci.
Programming and Data Structures
A hash function f defined as f(key) = key mod 7, with linear probing, is used to insert the keys 37, 38, 72, 48, 98, 11, 56 into a table indexed from 0 to 6. What will be the location of key 11?
CUET (PG) - 2024
CUET (PG)
Data Science A.I Cyber Security and Computer Sci.
Programming and Data Structures
The worst-case time complexity of inserting a node in a doubly linked list is:
CUET (PG) - 2024
CUET (PG)
Data Science A.I Cyber Security and Computer Sci.
Programming and Data Structures
Consider the given two statements:
S1: Kruskal’s Algorithm might produce a non-minimal spanning tree.
S2: Kruskal’s Algorithm can be efficiently implemented using the disjoint set data structure.
Choose the correct answer from the options given below:
CUET (PG) - 2024
CUET (PG)
Data Science A.I Cyber Security and Computer Sci.
Programming and Data Structures
Which of the following permutations can be obtained in the output (in the same order) using a stack assuming that the input is the sequence 1, 2, 3, 4, 5 in that order?
(A) 2
(B) 3
(C) 1
(D) 4
(E) 5
Choose the correct answer from the options given below:
CUET (PG) - 2024
CUET (PG)
Data Science A.I Cyber Security and Computer Sci.
Programming and Data Structures