-
Q.1Professional Knowledge
In indirect addressing mode, what does the address field of an instruction contain?
- The effective address of the operand directly
- The operand value itself
- The address of a memory location that stores the effective address
- The address stored in the program counter
- The register number containing the operand
Show answer
Correct answer: option3 — The address of a memory location that stores the effective address
-
Q.2Professional Knowledge
What will be the output of the following Java code snippet that calculates the length of a string without using the built-in length() method?
- The length of the string "Hello, World!" is: 13
- The length of the string "Hello, World!" is: 12
- Compilation Error
- Runtime Error: String cannot be null
- The length of the string "Hello, World!" is: 14
Show answer
Correct answer: option1 — The length of the string "Hello, World!" is: 13
-
Q.3Professional Knowledge
Which process is used to convert a grayscale image into a binary image, and which edge detection algorithm is well known for using gradient calculation along with non-maximum suppression and hysteresis thresholding?
- Thresholding, Laplacian
- Quantization, Sobel
- Sampling, Prewitt
- Thresholding, Canny
- Compression, Roberts
Show answer
Correct answer: option4 — Thresholding, Canny
-
Q.4Professional Knowledge
Which grayscale conversion approach generates a grayscale image by assigning equal importance to all three RGB components?
- Weighted luminance transformation
- Unweighted averaging of the RGB channels
- Edge-based grayscale transformation
- Alpha-transparency mapping
- Contrast-normalized grayscale encoding
Show answer
Correct answer: option2 — Unweighted averaging of the RGB channels
-
Q.5Professional Knowledge
Which of the following statements correctly describe the return values of the fork() system call in a Unix-like operating system?
- 0 to the child process and a positive value (child’s PID) to the parent process
- 1 to the child process and 0 to the parent process
- A negative value if the fork fails
- Both (a) and (c)
- None of the above
Show answer
Correct answer: option4 — Both (a) and (c)
-
Q.6Professional Knowledge
Convert the hexadecimal number 1B0 into its binary equivalent.
- 000110110000
- 001011100000
- 000101110000
- 000110101000
- 000100110000
Show answer
Correct answer: option1 — 000110110000
-
Q.7Professional Knowledge
Which of the following operators has the highest precedence in C++?
- Addition (+)
- Logical AND (&&)
- Multiplication (*)
- Function call operator (())
- Assignment (=)
Show answer
Correct answer: option4 — Function call operator (())
-
Q.8Professional Knowledge
What will be the output of the following C++ code snippet? #include <iostream> using namespace std; int main() { int a = 25, b = 14; cout << a << " + " << b << " = " << a + b; return 0; }
- 14 + 12 = 25
- 14 - 0 = 14
- 25 + 14 = 39
- Compilation Error
- Syntax Error
Show answer
Correct answer: option3 — 25 + 14 = 39
-
Q.9Professional Knowledge
Assuming each arithmetic and output operation takes constant time, what is the overall time complexity of the following code?
- O(n)
- O(n²)
- O(n³)
- O(n log n)
- O(log n)
Show answer
Correct answer: option3 — O(n³)
-
Q.10Professional Knowledge
Which TCP port is traditionally assigned as the standard default port for unencrypted SMTP communication between mail servers?
- 80
- 25
- 110
- 143
- 465
Show answer
Correct answer: option2 — 25
-
Q.11Professional Knowledge
Which data structure is most commonly used to support Last-In-First-Out (LIFO) behavior required for UNDO and REDO operations in text editors?
- Queue
- Stack
- Linked List
- Heap
- Hash Table
Show answer
Correct answer: option2 — Stack
-
Q.12Professional Knowledge
What is the process of converting a grayscale or color image into a binary image containing only two possible pixel intensity values called?
- Binarization
- Image Enhancement
- Grayscale Conversion
- Quantization
- Segmentation
Show answer
Correct answer: option1 — Binarization
-
Q.13Professional Knowledge
Which of the following statements is TRUE regarding the COCOMO?
- COCOMO completely ignores cost drivers such as hardware and personnel factors.
- COCOMO is mainly designed for managing Agile sprint backlogs and scrum cycles.
- Intermediate COCOMO refines software effort estimation using cost drivers.
- COCOMO estimates software quality using normalization and dependency analysis only.
- COCOMO is primarily used for real-time packet scheduling in operating systems.
Show answer
Correct answer: option3 — Intermediate COCOMO refines software effort estimation using cost drivers.
-
Q.14Professional Knowledge
Which command in Linux is used to estimate and display the disk space usage of files and directories?
- ls
- df
- du
- top
- mkdir
Show answer
Correct answer: option3 — du
-
Q.15Professional Knowledge
Which of the following statements is true regarding a Foreign Key in a relational database?
- A foreign key uniquely identifies every record in a table.
- A foreign key is primarily used to sort records in ascending order.
- A foreign key establishes a relationship between two tables using referenced values.
- A foreign key must always contain only unique values.
- A foreign key cannot contain duplicate or NULL values.
Show answer
Correct answer: option3 — A foreign key establishes a relationship between two tables using referenced values.
-
Q.16Professional Knowledge
What is the maximum file size supported by the original Macintosh Hierarchical File System (HFS)?
- 2 GB
- 4 GB
- 8 GB
- 16 GB
- 32 GB
Show answer
Correct answer: option1 — 2 GB
-
Q.17Professional Knowledge
Which of the following is primarily classified as a high-level scripting language rather than a low-level or system programming language?
- Assembly
- C
- Perl
- C++
- Machine Language
Show answer
Correct answer: option3 — Perl
-
Q.18Professional Knowledge
A software company is developing a banking application where all requirements are finalized before development begins, and client involvement after the requirement phase is minimal. The development process follows a strictly linear sequence in which each phase must be completed before the next phase starts. Which software development model is most suitable for this project?
- Agile
- Waterfall
- Spiral
- V-Model
- Prototyping
Show answer
Correct answer: option2 — Waterfall
-
Q.19Professional Knowledge
What will be the output of the following C++ program? #include <iostream> #include <stack> using namespace std; void insertBottom(stack<int>& s, int x) { if (s.empty()) { s.push(x); return; } int t = s.top(); s.pop(); insertBottom(s, x); s.push(t); } void reverseStack(stack<int>& s) { if (s.empty()) return; int t = s.top(); s.pop(); reverseStack(s); insertBottom(s, t); } void printStack(stack<int> s) { while (!s.empty()) { cout << s.top() << " "; s.pop(); } } int main() { stack<int> s; s.push(34); s.push(25); s.push(58); s.push(96); s.push(12); reverseStack(s); cout << "Reversed Stack: "; printStack(s); return 0; }
- Reversed Stack: 12 96 58 25 34
- Reversed Stack: 34 25 58 96 12
- Reversed Stack: 25 34 58 96 12
- Reversed Stack: 96 58 25 34 12
- Compilation Error
Show answer
Correct answer: option2 — Reversed Stack: 34 25 58 96 12
-
Q.20Professional Knowledge
Consider the following processes, all arriving at time 0, with their respective burst times: Process Burst Time (ms) P1 P2 P3 P4 Using Non-Preemptive Shortest Job First (SJF) scheduling, calculate the average waiting time.
- 7.0 ms
- 5.5 ms
- 6.25 ms
- 5.0 ms
- 6.0 ms
Show answer
Correct answer: option1 — 7.0 ms
-
Q.21Professional Knowledge
If two attributes, P and Q, satisfy the functional dependencies P → Q and Q → P, then they exhibit:
- Partial Dependency
- Full Functional Dependency
- Transitive Dependency
- Multivalued Dependency
- Mutual Functional Dependency
Show answer
Correct answer: option5 — Mutual Functional Dependency
-
Q.22Professional Knowledge
Which primary function of a hypervisor (Virtual Machine Manager) involves ensuring efficient distribution and management of CPU, memory, and storage resources among virtual machines?
- Virtual Machine Isolation
- Hardware Emulation
- Resource Allocation
- Network Virtualization
- Snapshot Management
Show answer
Correct answer: option3 — Resource Allocation
-
Q.23Professional Knowledge
In an operating system, where are newly submitted processes typically stored before they are admitted into main memory for execution?
- Job Pool
- Process Table
- Ready Queue
- Cache Memory
- Stack
Show answer
Correct answer: option1 — Job Pool
-
Q.24Professional Knowledge
Which SQL operator is used to filter rows by checking whether a value matches any value in a specified list?
- BETWEEN
- IN
- LIKE
- EXISTS
- DISTINCT
Show answer
Correct answer: option2 — IN
-
Q.25Professional Knowledge
Which of the following statements regarding mutual exclusion in operating systems is false?
- No two processes can execute in their critical sections simultaneously.
- Multiple processes can safely access a shared critical resource simultaneously without synchronization.
- Processes outside the critical section should not interfere with processes inside the critical section.
- Mutual exclusion helps prevent race conditions during shared resource access.
- Only one process is allowed to access a critical resource at a time.
Show answer
Correct answer: option2 — Multiple processes can safely access a shared critical resource simultaneously without synchronization.
-
Q.26Professional Knowledge
According to Fitts's Law, what factor significantly affects the time required to move a cursor to a target on the screen?
- The color of the target
- The size of the cursor
- The distance to the target and the size of the target
- The screen resolution
- The type of input device used
Show answer
Correct answer: option3 — The distance to the target and the size of the target
-
Q.27Professional Knowledge
Which of the following is the most fundamental benefit provided by inheritance in object-oriented programming?
- Faster execution of programs
- Enhanced code readability
- Increased code reusability
- Simplified debugging process
- Improved memory management
Show answer
Correct answer: option3 — Increased code reusability
-
Q.28Professional Knowledge
Which of the following best describes the function of the z-index property in CSS?
- It determines the horizontal position of an element.
- It specifies the vertical position of an element.
- It controls the stacking order of elements along the z-axis.
- It adjusts the opacity of an element.
- It sets the font size of an element.
Show answer
Correct answer: option3 — It controls the stacking order of elements along the z-axis.
-
Q.29Professional Knowledge
Which of the following is an aggregate function in SQL?
- CONCAT()
- AVG()
- SUBSTRING()
- LENGTH()
- NOW()
Show answer
Correct answer: option2 — AVG()
-
Q.30Professional Knowledge
Which of the following statements regarding Super Key and Primary Key is incorrect?
- Every primary key is a super key.
- A super key may contain additional attributes not required for unique identification.
- A table can have multiple super keys.
- Every super key is selected as the primary key of a table.
- A primary key uniquely identifies each record in a table.
Show answer
Correct answer: option4 — Every super key is selected as the primary key of a table.
-
Q.31Professional Knowledge
Which of the following is a valid use of the netsh command in Windows?
- To modify network interface settings.
- To create a new directory.
- To open the Task Manager.
- To install a software application.
- To check the system temperature.
Show answer
Correct answer: option1 — To modify network interface settings.
-
Q.32Professional Knowledge
Consider the following Java code snippet:
public class Main
{
public static void main(String[] args)
{
String str = "2237\u3456\u7891" + "011";
int length = str.length();
System.out.println("Length of the string : " + length);
}
}
What will be the output of the program?
- Length of the string : 19
- Length of the string : 13
- Length of the string : 17
- Length of the string : 9
- Compilation Error
Show answer
Correct answer: option4 — Length of the string : 9
-
Q.33Professional Knowledge
Which type of DDoS attack uses spoofed ICMP echo requests sent to broadcast addresses, causing multiple systems to flood the victim with ICMP reply packets?
- SYN Flood
- Ping of Death
- Smurf Attack
- DNS Amplification
- UDP Flood
Show answer
Correct answer: option3 — Smurf Attack
-
Q.34Professional Knowledge
Which of the following statements regarding the #define directive in C is incorrect?
- #define can be used to create symbolic constants.
- #define can define function-like macros with parameters.
- Macros created using #define are expanded by the preprocessor before compilation.
- #define can be used to create multi-line macros using the backslash () continuation character.
- #define macros provide automatic type checking similar to C functions.
Show answer
Correct answer: option5 — #define macros provide automatic type checking similar to C functions.
-
Q.35Professional Knowledge
Which of the following commands in Linux is primarily used for network scanning and security auditing?
- netset
- tcpdump
- ifconfig
- nmap
- traceroute
Show answer
Correct answer: option4 — nmap
-
Q.36Professional Knowledge
In MongoDB, which feature is particularly useful for ensuring data availability and reliability in case of hardware failure or network issues?
- Sharding
- Indexing
- Replication
- Aggregation
- Caching
Show answer
Correct answer: option3 — Replication
-
Q.37Professional Knowledge
Identify the local link address from the following IPv6 addresses:
- 2001:0db8:abcd:0012:0000:0000:0000:0001
- FE80:0000:0000:0000:0202:B3FF:FE1E:8329
- FF02:0000:0000:0000:0000:0000:0000:0001
- ::1
- 2001:4860:4860::8888
Show answer
Correct answer: option2 — FE80:0000:0000:0000:0202:B3FF:FE1E:8329
-
Q.38Professional Knowledge
If set A has 4 elements and set B has 5 elements, then find the total number of elements in the Cartesian product A×B:
- 9
- 45
- 20
- 54
- None of the above
Show answer
Correct answer: option3 — 20
-
Q.39Professional Knowledge
Salesforce CRM is an example of which cloud service model?
- Infrastructure as a Service (IaaS)
- Platform as a Service (PaaS)
- Software as a Service (SaaS)
- Database Management System (DBMS)
- None of the above
Show answer
Correct answer: option3 — Software as a Service (SaaS)
-
Q.40Professional Knowledge
How is the salting technique used in hashing for enhanced security?
- It converts plain text into hashed text using the MD5 algorithm without adding any extra data.
- It adds a random value to the input data before hashing to make each hash unique.
- It encrypts the hashed data using a symmetric encryption algorithm.
- It stores the hash directly without any modification or additional data.
- It compresses the hash to reduce storage space.
Show answer
Correct answer: option2 — It adds a random value to the input data before hashing to make each hash unique.
-
Q.41Professional Knowledge
If you are unable to connect to a website despite having a working internet connection, which of the following is most likely the reason?
- DNS server is down or misconfigured
- The website’s IP address has changed recently
- Browser cache is not cleared
- Incorrect firewall settings
- Outdated operating system
Show answer
Correct answer: option1 — DNS server is down or misconfigured
-
Q.42Professional Knowledge
What happens during a cache hit in a computer system?
- Data is transferred directly to the hard drive
- Data is fetched from main memory into the cache
- Requested data is retrieved directly from the cache memory
- Data is permanently stored in the cache
- The cache memory is cleared
Show answer
Correct answer: option3 — Requested data is retrieved directly from the cache memory
-
Q.43Professional Knowledge
Which of the following Excel formulas performs a calculation only when cell A1 contains a value-type entry, and otherwise returns 0?
- =IF(CELL("contents",A1)="v",A1*2,0)
- =IF(CELL("format",A1)="v",A1*2,0)
- =IF(CELL("type",A1)="v",A1*2,0)
- =IF(CELL("address",A1)="v",A1*2,0)
- =IF(CELL("col",A1)="v",A1*2,0)
Show answer
Correct answer: option3 — =IF(CELL("type",A1)="v",A1*2,0)
-
Q.44Professional Knowledge
Which of the following is a condition that occurs in computer systems when the system spends more time in swapping data between RAM and the hard drive than executing actual tasks?
- Deadlock
- Thrashing
- Starvation
- Fragmentation
- Bottleneck
Show answer
Correct answer: option2 — Thrashing
-
Q.45Professional Knowledge
Under standard DBMS transaction theory used in basic SQL classification, which of the following commands is generally rollback-able before COMMIT?
- SELECT
- COMMIT
- DELETE
- CREATE
- ALTER
Show answer
Correct answer: option3 — DELETE
-
Q.46Professional Knowledge
What is the tcpdump command in Linux used for?
- To capture and analyze network packets.
- To display disk usage statistics.
- To monitor CPU and memory usage.
- To manage user accounts.
- To create and manage cron jobs.
Show answer
Correct answer: option1 — To capture and analyze network packets.
-
Q.47Professional Knowledge
In a relational database, which term represents a missing, unknown, or unavailable attribute value?
- Empty table
- Derived value
- Null value
- Default value
- Zero value
Show answer
Correct answer: option3 — Null value
-
Q.48Professional Knowledge
Consider the following C code snippet:
#include <stdio.h>
int main() {
FILE *file = fopen("example.txt", "r");
if (file == NULL) {
printf("Error opening file.\n");
return 1;
}
int ch;
while ((ch = fgetc(file)) != EOF) {
putchar(ch);
}
if (feof(file)) {
printf("\nEnd of file reached.\n");
}
fclose(file);
return 0;
}
What is the purpose of the feof(file) function call in this program?
- To read the next character from the file stream
- To determine whether the end-of-file indicator for the file stream has been set
- To close the file after all characters are read
- To move the file pointer to the beginning of the file
- To open the file in read mode
Show answer
Correct answer: option2 — To determine whether the end-of-file indicator for the file stream has been set
-
Q.49Professional Knowledge
A Class B network with default mask /16 is subnetted using the mask /20. Assuming modern subnetting rules where subnet-zero is allowed, how many subnets are created?
- 8
- 16
- 32
- 64
- 256
Show answer
Correct answer: option2 — 16
-
Q.50Professional Knowledge
Which feature of an L2 switch allows network administrators to segment a network into multiple broadcast domains, each behaving like a separate network?
- Spanning Tree Protocol (STP)
- Port Mirroring
- VLAN (Virtual Local Area Network)
- Link Aggregation
- QoS (Quality of Service)
Show answer
Correct answer: option3 — VLAN (Virtual Local Area Network)
-
Q.51Professional Knowledge
Which of the following RF connectors is commonly used with coaxial cables for high-frequency signal transmission?
- BNC
- HDMI
- RJ45
- DVI
- PS/2
Show answer
Correct answer: option1 — BNC
-
Q.52Professional Knowledge
A repeater works at which of the following layers in the OSI model?
- Physical Layer
- Data Link Layer
- Network Layer
- Transport Layer
- Application Layer
Show answer
Correct answer: option1 — Physical Layer
-
Q.53Professional Knowledge
Which statement correctly describes the functionality of the var_dump() function in PHP?
- It assigns default values to one or more variables during execution.
- It dumps information about one or more variables, including their type and value.
- It formats and logs error messages for debugging purposes.
- It creates a new variable and sets its data type automatically.
- It initializes arrays and objects for further processing.
Show answer
Correct answer: option2 — It dumps information about one or more variables, including their type and value.
-
Q.54Professional Knowledge
Which of the following functions is not declared in <stdio.h>?
- printf()
- scanf()
- fopen()
- sqrt()
- fprintf()
Show answer
Correct answer: option4 — sqrt()
-
Q.55Professional Knowledge
Which sorting algorithm has a worst-case time complexity of O(n2)?
- Merge Sort
- Radix Sort
- Bubble Sort
- Heap Sort
- None of the above
Show answer
Correct answer: option3 — Bubble Sort
-
Q.56Professional Knowledge
What is the maximum number of elements present simultaneously in the operand stack while evaluating the postfix expression: 6 2 3 + - 3 8 2 / + *
- 1
- 2
- 3
- 4
- None of the above
Show answer
Correct answer: option4 — 4
-
Q.57Professional Knowledge
Which of the following algorithms is not used for finding a Minimum Spanning Tree ?
- Kruskal's Algorithm
- Prim's Algorithm
- Boru vka's Algorithm
- Bellman-Ford Algorithm
- Reverse-Delete Algorithm
Show answer
Correct answer: option4 — Bellman-Ford Algorithm
-
Q.58Professional Knowledge
Which ACID property ensures that a transaction brings the database from one valid state to another, maintaining all predefined rules?
- Atomicity
- Consistency
- Isolation
- Durability
- None of the above
Show answer
Correct answer: option2 — Consistency
-
Q.59Professional Knowledge
Which schema model is widely used in traditional data warehouse design for organizing fact tables and dimension tables?
- Star schema
- Mesh schema
- Hierarchical schema
- Graph schema
- None of the above
Show answer
Correct answer: option1 — Star schema
-
Q.60Professional Knowledge
Which authorization framework is commonly used in modern web applications to enable token-based access and is often integrated into Single Sign-On (SSO) systems?
- Secure Sockets Layer
- Kerberos
- OAuth 2.0
- Lightweight Directory Access Protocol
- Transport Layer Security
Show answer
Correct answer: option3 — OAuth 2.0
Option number of the correct answer for each question.