In unix/linux platfom, which command is used to search for a pattern within a file ? [JECA 2022]
Anonymous Quiz
10%
(A) cd
9%
(B) cp
1%
(C) paste
79%
(D) grep
In unix/linux platform, hidden file can be viewed using [JECA 2022]
Anonymous Quiz
53%
(A) Is -a
13%
(B) Is -l
34%
(C) Is -h
1%
(D) Is -k
What is the purpose of a subnet mask?
Anonymous Quiz
44%
a) To identify the network portion of an IP address
26%
b) To identify the host portion of an IP address
14%
c) To encrypt data transmitted over a network
15%
d) To filter incoming traffic to a network
Which of the following is an example of a circuit-switched network?
Anonymous Quiz
58%
a) Ethernet
27%
b) ATM
4%
c) IP
11%
d) Wi-Fi
Which of the following is not a type of network address translation (NAT)?
Anonymous Quiz
17%
a) Static NAT
13%
b) Dynamic NAT
38%
c) Port Address Translation (PAT)
32%
d) Network Port Translation (NPT)
What is the maximum number of hosts that can be addressed on a network with a subnet mask of 255.255.255.224?
Anonymous Quiz
19%
a) 14
28%
b) 30
20%
c) 62
32%
d) 126
🔥1
What is default access specifier for data members or member functions declared within a class without any specifier, in C++?
Anonymous Quiz
66%
a) Private
8%
b) Protected
22%
c) Public
3%
d) Depends on compiler
👍2
Which of the following best describes the concept of inheritance in object-oriented programming?
Anonymous Quiz
79%
a) Inheritance allows an object to acquire properties and behaviors from another object.
11%
b) Inheritance is the process of combining multiple objects into a single entity.
8%
c) Inheritance is the technique of hiding internal data and methods of an object.
3%
d) Inheritance refers to the process of converting an object into a primitive data type.
What is size of the object of following class (64 bit system)?
class student { int rollno; char name[20]; static int studentno; };
class student { int rollno; char name[20]; static int studentno; };
Anonymous Quiz
29%
a) 20
5%
b) 22
33%
c) 24
34%
d) 28
👍3
Which of the following is a characteristic of object-oriented programming?
Anonymous Quiz
25%
a) Procedural approach
54%
b) Emphasis on code reusability
17%
c) Single-level inheritance
4%
d) Reliance on global variables
Encapsulation and abstraction differ as ___________
Anonymous Quiz
70%
a) Binding and Hiding respectively
22%
b) Hiding and Binding respectively
3%
c) Can be used any way
5%
d) Hiding and hiding respectively
Which search algorithm guarantees the shortest path in an unweighted graph?
Anonymous Quiz
30%
a) Depth-First Search (DFS)
47%
b) Breadth-First Search (BFS)
19%
c) Binary Search
4%
d) Linear Search
Which operation of a stack returns the element at the top without removing it?
Anonymous Quiz
16%
a) Push
21%
b) Pop
56%
c) Peek
7%
d) IsEmpty
Which type of queue allows elements to be inserted and removed from both ends?
Anonymous Quiz
6%
a) Priority Queue
19%
b) Circular Queue
68%
c) Deque (Double-Ended Queue)
6%
d) LIFO Queue
Which traversal visits the nodes of a binary tree in the order: left subtree, root, right subtree?
Anonymous Quiz
20%
a) Preorder traversal
69%
b) Inorder traversal
8%
c) Postorder traversal
3%
d) Level order traversal
Which data structure is commonly used to represent a graph efficiently?
Anonymous Quiz
69%
a) Adjacency matrix
11%
b) Array
11%
c) Stack
8%
d) Queue
Which of the following routing algorithms is based on the concept of finding the shortest path in a network?
Anonymous Quiz
53%
a) Distance Vector Routing
19%
b) Link State Routing
10%
c) Border Gateway Protocol (BGP)
19%
d) Spanning Tree Protocol (STP)
👍3
In the context of operating systems, which scheduling algorithm guarantees that every process gets an equal share of CPU time over a given period?
Anonymous Quiz
74%
a) Round Robin
14%
b) First-Come, First-Served (FCFS)
4%
c) Shortest Job Next (SJN)
9%
d) Priority Scheduling
👍1
Which of the following is an example of a symmetric key encryption algorithm?
Anonymous Quiz
44%
a) RSA
25%
b) AES
16%
c) Diffie-Hellman
15%
d) SHA-256
👍2
Which of the following network topologies offers the highest fault tolerance and redundancy?
Anonymous Quiz
21%
a) Bus
16%
b) Ring
18%
c) Star
45%
d) Mesh