Which of the following is contained in Process Control Block (PCB)?
Anonymous Quiz
19%
Memory Limits
5%
List of Open files
4%
List of Open files
73%
All of the Above
👍1
👍2
FFFF will be the last memory location in a memory size?
Anonymous Quiz
23%
16K
15%
32K
35%
64K
27%
128K
👍2
Consider an operating system containing 4 processes and each process requires 3 instances of resource M. What is the minimum number of instances of resource M is needed such that no deadlock will ever occur?
Anonymous Quiz
23%
8
40%
9
17%
10
20%
11
👍1
If a processor has 32-bit virtual address, 28-bit physical address, 2 kB page size. How many bits are required for the virtual, physical page number?
Anonymous Quiz
15%
17,21
45%
21,17
16%
6,10
24%
None of the above
👍5
In unix/linux platform, which set is correct to move cursor within vi editor ? [JECA 2022]
Anonymous Quiz
17%
(A) h- Move cursor up, k- Move cursor down, j - Move cursor left, l- Move cursor right.
53%
(B) k- Move cursor up, j - Move cursor down, h - Move cursor left, I- Move cursor right.
18%
(C) k- Move cursor up, I - Move cursor down, h - Move cursor left, j - Move cursor right.
12%
(D) l- Move cursor up, j -Move cursor down, k - Move cursor left, h - Move cursor right
👍3
In unix/linux platform, which command is used to see path of the working directory? [JECA 2022]
Anonymous Quiz
8%
(A) Is
16%
(B) dir
7%
(B) dir
70%
(D) pwd
In unix/linux platform, which command is used to view the first n number of lines of a particular file (consider the file name is "filename") ? [JECA 2022]
Anonymous Quiz
69%
(A) head -n filename
10%
(B) tail -n filename
9%
(C) head -n -tail filename
12%
(D) top -n filename
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