-
Q.1Professional Knowledge
What is the total number of networks available in IPv4 Class C?
- 216
- 221
- 224
- 215
- 220
Show answer
Correct answer: option2 — 221
-
Q.2Professional Knowledge
The attribute whose value is derived from another attribute is called?
- Primary Attribute
- Composite Attribute
- Derived Attribute
- Foreign Attribute
- Unique Attribute
Show answer
Correct answer: option3 — Derived Attribute
-
Q.3Professional Knowledge
Consider the following C++ code snippet:
#include <iostream>
using namespace std;
int main() {
bool a = true;
bool b = false;
bool c = (a || b) && !(a && b);
bool d = a && !b;
cout << "Result: " << (c == d) << endl;
return 0;
}
What is the output of the above program?
- Result: 0
- Result: 1
- Result: true
- Compilation Error
- None of the above
Show answer
Correct answer: option2 — Result: 1
-
Q.4Professional Knowledge
Which Linux command is used to display the current version of the kernel?
- lskernel
- kernel -v
- version
- uname -v
- kerninfo
Show answer
Correct answer: option4 — uname -v
-
Q.5Professional Knowledge
Consider the following NFA with ε-transition: State a b ε →q0 q0 q1 — q1 q2 — — q2 q2 q0 q1 Where: • → denotes the initial state • denotes the final state Using subset construction and considering only reachable DFA states, which of the following represents the set of states in the equivalent DFA?
- {{q0},{q1},{q1,q2}}
- {{q0},{q1},{q0,q1},{q1,q2}}
- {{q0},{q1},{q0,q2},{q1,q2}}
- {{q0},{q1},{q0,q1,q2}}
- None of the above
Show answer
Correct answer: option1 — {{q0},{q1},{q1,q2}}
-
Q.6Professional Knowledge
In the context of database transactions, a shared lock allows which of the following operations?
- Only read operations by multiple transactions simultaneously
- Both read and write operations by multiple transactions simultaneously
- Only write operations by a single transaction
- Both read and write operations by a single transaction
- None of these
Show answer
Correct answer: option1 — Only read operations by multiple transactions simultaneously
-
Q.7Professional Knowledge
A system has 4 processes and 3 resource types. The following matrices are given: Allocation Matrix Process R1 R2 R3 P1 P2 P3 P4 Maximum Matrix Process R1 R2 R3 P1 P2 P3 P4 Available Resources R1 R2 R3 Using Banker’s Algorithm, determine the number of safe sequences possible.
- 0
- 1
- 2
- 3
- 4
Show answer
Correct answer: option1 — 0
-
Q.8Professional Knowledge
According to the IEEE 802.3 standard, what is the maximum cable length of a single 100Base-TX Ethernet segment?
- 100 meters
- 200 meters
- 185 meters
- 500 meters
- 1000 meters
Show answer
Correct answer: option1 — 100 meters
-
Q.9Professional Knowledge
Assume all transactions are attempting to access the same database resource. Transaction Operation Requested Lock Type Requested T1 Read Shared (S-lock) T2 Read Shared (S-lock) T3 Write Exclusive (X-lock) T4 Read Shared (S-lock) Based on standard DBMS lock compatibility rules, which of the following statements is correct?
- Transactions T1, T2, and T4 can simultaneously hold S-locks on the same resource.
- Transaction T3 can obtain an X-lock while T1 holds an S-lock.
- Transaction T4 can read the resource while T3 holds an X-lock.
- An S-lock and an X-lock are compatible on the same resource.
- Shared and exclusive locks are interchangeable.
Show answer
Correct answer: option1 — Transactions T1, T2, and T4 can simultaneously hold S-locks on the same resource.
-
Q.10Professional Knowledge
Which tag is used to create a table in the latest version of HTML?
- <div>
- <table>
- <grid>
- <html-table>
- <section>
Show answer
Correct answer: option2 — <table>
-
Q.11Professional Knowledge
Which of the following scenarios can lead to starvation in process scheduling?
- A process is stuck in a circular wait due to resource allocation.
- A high-priority process continuously preempts a lower-priority process.
- All processes have equal priority and resources are allocated fairly.
- Processes are executed in the order of their arrival without preemption.
- Processes communicate with each other to avoid mutual exclusion violations.
Show answer
Correct answer: option2 — A high-priority process continuously preempts a lower-priority process.
-
Q.12Professional Knowledge
Hyper-V is a product of which of the following?
- VMware
- Oracle
- Microsoft
- Red Hat
- Google
Show answer
Correct answer: option3 — Microsoft
-
Q.13Professional Knowledge
Which of the following is a valid identifier in Python?
- 1stVariable
- variable-name
- variable_name
- for
- variable@name
Show answer
Correct answer: option3 — variable_name
-
Q.14Professional Knowledge
What is the effective encryption key length used by the Data Encryption Standard (DES), excluding parity bits?
- 64 bits
- 56 bits
- 128 bits
- 32 bits
- 192 bits
Show answer
Correct answer: option2 — 56 bits
-
Q.15Professional Knowledge
Which of the following is not a linear data structure?
- Array
- Stack
- Queue
- Tree
- Linked List
Show answer
Correct answer: option4 — Tree
-
Q.16Professional Knowledge
A Class B network with default mask 255.255.0.0 must be subnetted into at least 1024 subnets. Which subnet mask should be used under modern subnetting rules?
- 255.255.224.0
- 255.255.240.0
- 255.255.248.0
- 255.255.255.192
- 255.255.255.0
Show answer
Correct answer: option4 — 255.255.255.192
-
Q.17Professional Knowledge
In object-oriented programming, what is the method called where one type is defined based on another type?
- Inheritance
- Class
- Object
- Polymorphism
- Encapsulation
Show answer
Correct answer: option1 — Inheritance
-
Q.18Professional Knowledge
Which of the following web application attacks involves injecting malicious scripts into trusted websites to target users?
- Cross-Site Request Forgery (CSRF)
- Injection Attacks
- Cross-Site Scripting (XSS)
- Distributed Denial-of-Service (DDoS)
- Brute Force Attack
Show answer
Correct answer: option3 — Cross-Site Scripting (XSS)
-
Q.19Professional Knowledge
What is the number of pins in the Intel 8089 I/O processor?
- 20
- 40
- 64
- 24
- 80
Show answer
Correct answer: option2 — 40
-
Q.20Professional Knowledge
Which of the following protocols is not part of the HTTP/HTTPS web communication protocol family?
- HTTPS
- FTP
- HTTP
- WebDAV
- None of the above
Show answer
Correct answer: option2 — FTP
-
Q.21Professional Knowledge
Which of the following statements about Third Normal Form (3NF) is true?
- A table is in 3NF if it is in 2NF and every non-prime attribute is non-transitively dependent on every key of the table.
- A table is in 3NF if it is in 2NF and every non-prime attribute is dependent on every non-key attribute of the table.
- A table is in 3NF if it has no transitive dependencies and every non-prime attribute is partially dependent on a candidate key.
- A table is in 3NF if it has no repeating groups and all attributes are atomic.
- A table is in 3NF if it is in 1NF and has only one candidate key.
Show answer
Correct answer: option1 — A table is in 3NF if it is in 2NF and every non-prime attribute is non-transitively dependent on every key of the table.
-
Q.22Professional Knowledge
Which of the following is an example of a bit-oriented protocol?
- HDLC (High-Level Data Link Control)
- SMTP (Simple Mail Transfer Protocol)
- FTP (File Transfer Protocol)
- HTTP (Hypertext Transfer Protocol)
- None of the above
Show answer
Correct answer: option1 — HDLC (High-Level Data Link Control)
-
Q.23Professional Knowledge
In IPv4 Class C, what is the range of the first octet?
- 1–126
- 128–191
- 192–223
- 224–239
- 240–255
Show answer
Correct answer: option3 — 192–223
-
Q.24Professional Knowledge
Which of the following PDU units corresponds to the Transport and Network Layers in the OSI model?
- Packet (Transport Layer), Datagram (Network Layer)
- Segment (Transport Layer), Packet (Network Layer)
- Datagram (Transport Layer), Frame (Network Layer)
- Packet (Transport Layer), Frame (Network Layer)
- None of the above
Show answer
Correct answer: option2 — Segment (Transport Layer), Packet (Network Layer)
-
Q.25Professional Knowledge
What will be the output of the following C program?
- 5
- 10
- 15
- 0
- Compilation Error
Show answer
Correct answer: option3 — 15
-
Q.26Professional Knowledge
What is BitLocker?
- A disk encryption feature in Windows
- A malware protection software
- A network firewall tool
- A file compression utility
- A backup management tool
Show answer
Correct answer: option1 — A disk encryption feature in Windows
-
Q.27Professional Knowledge
Which CPU register stores the address of the next instruction before it is fetched from memory?
- Instruction Register (IR)
- Memory Address Register (MAR)
- Program Counter (PC)
- Accumulator (AC)
- Stack Pointer (SP)
Show answer
Correct answer: option3 — Program Counter (PC)
-
Q.28Professional Knowledge
In C Programming, the ternary operator is also called as:
- Conditional Operator
- Logical Operator
- Bitwise Operator
- Relational Operator
- Arithmetic Operator
Show answer
Correct answer: option1 — Conditional Operator
-
Q.29Professional Knowledge
Which of the following is a form of a snooping attack that involves unauthorized monitoring of network communications to capture sensitive information?
- Spoofing
- SQL Injection
- Eavesdropping
- Denial of Service (DoS)
- Phishing
Show answer
Correct answer: option3 — Eavesdropping
-
Q.30Professional Knowledge
Which of the following statements about offsite recovery strategies is correct?
- A hot site provides fully operational systems with real-time data mirroring and requires minimal downtime during recovery.
- A cold site has all the necessary equipment pre-installed and ready to use in case of a disaster.
- A warm site is identical to a hot site but does not provide real-time data synchronization.
- A backup site is typically a secondary facility that is fully equipped and ready for immediate switchover.
- None of the above statements are correct.
Show answer
Correct answer: option1 — A hot site provides fully operational systems with real-time data mirroring and requires minimal downtime during recovery.
-
Q.31Professional Knowledge
Which of the following is a general-purpose processing register?
- PC
- DR
- IR
- AR
- None of the above
Show answer
Correct answer: option5 — None of the above
-
Q.32Professional Knowledge
The reserved words in C programming are called?
- Constants
- Identifiers
- Keywords
- Operators
- Functions
Show answer
Correct answer: option3 — Keywords
-
Q.33Professional Knowledge
Which of the following testing types focuses on verifying individual components or modules of a software application?
- Integration Testing
- Unit Testing
- System Testing
- Acceptance Testing
- Regression Testing
Show answer
Correct answer: option2 — Unit Testing
-
Q.34Professional Knowledge
Consider the following code snippet:
#include <stdio.h>
int main() {
char arr[] = "FGHJKJGF";
char *p = arr;
printf("%c\n", *(p + 3));
return 0;
}
What is the output of the above program?
- F
- G
- H
- J
- K
Show answer
Correct answer: option4 — J
-
Q.35Professional Knowledge
Consider the following C program:
#include <stdio.h>
void exampleFunction(int x, int y) {
printf("x = %d, y = %d\n", x, y);
}
int main() {
int a = 10;
int b;
exampleFunction(a, b);
return 0;
}
What is the output of the above program?
- x = 0, y = 10
- x = 10, y = 10
- x = 10, y = some garbage value
- x = 0, y = some garbage value
- Compilation Error
Show answer
Correct answer: option3 — x = 10, y = some garbage value
-
Q.36Professional Knowledge
Consider the following processes with their respective burst times and arrival times: Using the First-Come, First-Served (FCFS) scheduling algorithm, calculate the average waiting time and average turnaround time for the processes.
- Average Waiting Time: 4.2, Average Turnaround Time: 8.2
- Average Waiting Time: 6.0, Average Turnaround Time: 11.0
- Average Waiting Time: 4.6, Average Turnaround Time: 8.6
- Average Waiting Time: 3.8, Average Turnaround Time: 8.4
- Average Waiting Time: 3.6, Average Turnaround Time: 7.6
Show answer
Correct answer: option4 — Average Waiting Time: 3.8, Average Turnaround Time: 8.4
-
Q.37Professional Knowledge
Which communication mode allows data transmission in both directions simultaneously?
- Simplex
- Half Duplex
- Full Duplex
- Asynchronous
- Synchronous
Show answer
Correct answer: option3 — Full Duplex
-
Q.38Professional Knowledge
Consider the following disk request sequence for I/O operations in a disk queue: 95, 180, 34, 119, 11, 123, 62, 64. The disk head is initially positioned at cylinder 50. Calculate the total head movement to satisfy all the requests using FCFS disk scheduling.
- 440
- 620
- 560
- 735
- 644
Show answer
Correct answer: option5 — 644
-
Q.39Professional Knowledge
Which of the following is a NoSQL database?
- MariaDB
- MySQL
- Cassandra
- Informix
- DB2
Show answer
Correct answer: option3 — Cassandra
-
Q.40Professional Knowledge
What is the height of an AVL tree with 12 nodes, assuming the degree of the root node is 0?
- 3
- 4
- 5
- 6
- None of the above
Show answer
Correct answer: option2 — 4
-
Q.41Professional Knowledge
What is the purpose of the -n option in the Linux traceroute command?
- Displays the output in numeric IP format without resolving hostnames
- Traces routes to the local network only
- Resolves hostnames to domain names
- Specifies the maximum number of hops
- Displays additional debugging information
Show answer
Correct answer: option1 — Displays the output in numeric IP format without resolving hostnames
-
Q.42Professional Knowledge
What type of VLAN is used to carry traffic from multiple VLANs across a single link?
- Access
- Native
- Trunk
- Management
- Voice
Show answer
Correct answer: option3 — Trunk
-
Q.43Professional Knowledge
Consider a network where a packet is sent from Host A to Host B. The packet has an initial hop limit of 10. The packet passes through 3 routers before reaching Host B. Each router decrements the hop limit by 1. What is the remaining hop limit of the packet when it reaches Host B?
- 7
- 8
- 9
- 10
- 6
Show answer
Correct answer: option1 — 7
-
Q.44Professional Knowledge
What are the partitioning styles available in Windows operating systems?
- NTFS and FAT32
- Primary and Extended
- Logical and Physical
- MBR and GPT
- BIOS and UEFI
Show answer
Correct answer: option4 — MBR and GPT
-
Q.45Professional Knowledge
Which transport layer protocol is used by SMTP?
- TCP
- UDP
- ICMP
- SCTP
- ARP
Show answer
Correct answer: option1 — TCP
-
Q.46Professional Knowledge
Match the following OSI layers with their corresponding functionalities: Choose the correct matching:
- 1-c, 2-d, 3-a, 4-b
- 1-d, 2-a, 3-b, 4-c
- 1-a, 2-c, 3-d, 4-b
- 1-c, 2-b, 3-d, 4-a
- 1-d, 2-c, 3-a, 4-b
Show answer
Correct answer: option1 — 1-c, 2-d, 3-a, 4-b
-
Q.47Professional Knowledge
What is the binary equivalent of 726?
- 1011010110
- 1101101010
- 1110010110
- 1010110110
- 1110101010
Show answer
Correct answer: option1 — 1011010110
-
Q.48Professional Knowledge
In the context of server security, which of the following real-world practices is NOT desirable?
- Using a reverse proxy to hide server IP addresses
- Deploying servers in a DMZ (Demilitarized Zone) for public-facing services
- Disabling unnecessary services and ports on the server
- Allowing unrestricted root login via SSH for faster access
- Enforcing regular vulnerability assessments on the server
Show answer
Correct answer: option4 — Allowing unrestricted root login via SSH for faster access
-
Q.49Professional Knowledge
In the context of Java, which of the following keywords is used to declare class-level variables and methods, ensuring that they can be accessed without creating an instance of the class?
- final
- static
- transient
- volatile
- synchronized
Show answer
Correct answer: option2 — static
-
Q.50Professional Knowledge
Consider the following statements about CISC (Complex Instruction Set Computing): 1. CISC instructions are more complex and can execute multiple tasks in a single instruction. 2. CISC processors require fewer instructions to complete a task, resulting in simpler control units. 3. CISC architecture prioritizes hardware over software complexity. Which of the following options correctly classifies the statements as true or false?
- 1: True, 2: True, 3: False
- 1: True, 2: False, 3: True
- 1: False, 2: True, 3: True
- 1: False, 2: False, 3: True
- 1: True, 2: False, 3: False
Show answer
Correct answer: option2 — 1: True, 2: False, 3: True
-
Q.51Professional Knowledge
Which UNIX command is used to display the kernel name?
- whoami
- kernel
- uname
- hostname
- sysinfo
Show answer
Correct answer: option3 — uname
-
Q.52Professional Knowledge
Which of the following is a private IP address?
- 192.168.1.1
- 172.32.0.1
- 10.0.0.1
- 8.8.8.8
- 172.15.0.1
Show answer
Correct answer: option1 — 192.168.1.1
-
Q.53Professional Knowledge
Consider the following statements about namespaces in programming: (i) Namespaces provide a way to group identifiers and avoid naming conflicts in large projects. (ii) Using the using directive in C++ eliminates the need to qualify names explicitly within the namespace. (iii) In C++, two namespaces cannot have the same identifier within them. Which of the following options correctly classifies the statements as true or false?
- (i): True, (ii): True, (iii): False
- (i): True, (ii): False, (iii): False
- (i): False, (ii): True, (iii): True
- (i): True, (ii): True, (iii): True
- (i): False, (ii): False, (iii): True
Show answer
Correct answer: option1 — (i): True, (ii): True, (iii): False
-
Q.54Professional Knowledge
Dirty bit is used to identify which of the following?
- Pages that are modified in memory but not written to disk
- Pages that are currently in use in memory
- Pages that are swapped out to disk
- Pages that are read-only in memory
- Pages that are not loaded in memory
Show answer
Correct answer: option1 — Pages that are modified in memory but not written to disk
-
Q.55Professional Knowledge
What is the final value of a after the loops are executed in the following program?
- -5
- 0
- 5
- 10
- None of the above
Show answer
Correct answer: option2 — 0
-
Q.56Professional Knowledge
Which of the following is NOT a feature of Extreme Programming (XP)?
- Pair programming
- Continuous feedback from the customer
- Fixed project requirements before development
- Test-driven development (TDD)
- Continuous integration
Show answer
Correct answer: option3 — Fixed project requirements before development
-
Q.57Professional Knowledge
Which of the following is a type of Intrusion Detection System that analyzes network traffic in real- time?
- Host-Based IDS (HIDS)
- Network-Based IDS (NIDS)
- Signature-Based IDS
- Anomaly-Based IDS
- Behavior-Based IDS
Show answer
Correct answer: option2 — Network-Based IDS (NIDS)
-
Q.58Professional Knowledge
A subset of a Data Warehouse designed for a specific department is called:
- Data Mart
- ODS
- Cloud Warehouse
- Metadata store
- None of the above
Show answer
Correct answer: option1 — Data Mart
-
Q.59Professional Knowledge
Which cloud model allows end-users to access software applications via a web browser without needing local installation?
- IaaS
- PaaS
- SaaS
- FaaS
- DaaS
Show answer
Correct answer: option3 — SaaS
-
Q.60Professional Knowledge
Which of the following exemplifies Divide and Conquer?
- Heapsorts
- Insertion sort
- Bubble sort
- Merge sort
- None of the above
Show answer
Correct answer: option4 — Merge sort
Option number of the correct answer for each question.