Junior Programmer2025

JKSSB • Information Technology Department

120Questions
6Subjects
100%Solved
📚 6 Subjects Tested in this ExamView Subjects ▾
C Programming & Data StructuresDatabase Management Systems (DBMS) & SQLWeb Technologies & Internet ProtocolsObject Oriented Programming (C++, Java, C#)Software Engineering & SDLCOperating Systems & System Software

📝 Solved Questions with Detailed Explanations100% Free • No Login Required

Mode: Interactive Practice (Click any option to test yourself)
Q1
C Programming & Data StructuresArrays & Pointer Arithmetic in C

What will be the output of the following code?

```c
#include <stdio.h>
int main() {
int arr[3] = {1, 2, 3};
printf("%d
", 2[arr]);
return 0;
}
```

Q2
C Programming & Data StructuresControl Structures & Null Statements

What will be the output of this code?

```c
#include <stdio.h>
int main() {
int a = 5;
if (a == 5)
printf("Hello");
else;
printf("World!");
return 0;
}
```

Q3
C Programming & Data StructuresDynamic Memory Allocation (malloc vs calloc)

Which of the following statements about malloc and calloc is correct?

Q4
C Programming & Data StructuresPointers & Dereferencing in C

What is the output of the following code?

```c
#include <stdio.h>
int main() {
int x = 5;
int y = 10;
int p = &x; p += y;
printf("%d %d
", x, y);
return 0;
}
```

Q5
C Programming & Data StructuresFunction Pointers in C

Which of the following is a correct declaration of a pointer to a function in C?

Q6
C Programming & Data StructuresNull Pointer Dereference & Segmentation Fault

What does the following code print?

```c
#include <stdio.h>
void func() {
int p = NULL; p = 10;
}
int main() {
func();
return 0;
}
```

Q7
C Programming & Data StructuresStructure Padding & Memory Alignment

What is the size of the following structure?

```c
struct Test {
char a;
int b;
char c;
};
```

Q8
C Programming & Data StructuresFormatted I/O in C

Which of the following statements about printf is correct?

```c
#include <stdio.h>
int main() {
printf("%d %d
", 1);
return 0;
}
```

Q9
C Programming & Data StructuresDynamic Memory Allocation

Which of the following functions is used to dynamically allocate memory in C?

Q10
C Programming & Data StructuresJump Statements (break & continue)

What is the purpose of the break statement in a loop?

Q11
C Programming & Data StructuresLoops in C (do-while)

Which loop is guaranteed to execute at least once in C?

Q12
C Programming & Data StructuresPrimitive Data Types Sizes

Match the following data types in Column A with their corresponding sizes (in bytes) on a 32 bit system in Column B:

| Column - A | Column - B |
| :--- | :--- |
| 1. int | ii. 4 bytes |
| 2. char | i. 1 byte |
| 3. float | iii. 4 bytes |
| 4. double | iv. 8 bytes |

Choose the correct options:

Q13
C Programming & Data StructuresC Functions & Recursion

Consider the following statements about functions in C:
1. Functions can return only one value.
2. Recursive functions can call themselves.
3. The void keyword is used to indicate that a function does not return a value.
4. Functions must always have a return type specified.

Choose the correct Statement:

Q14
C Programming & Data StructuresControl Structures (if-else, switch, loops)

Consider the following statements about control structures in C:
1. The if-else structure is used for conditional execution of code.
2. The switch statement must always have a default case.
3. The for loop is used when the number of iterations is known beforehand.
4. The while loop can execute zero or more times based on the condition.

Choose the correct Statement:

Q15
C Programming & Data StructuresFile Handling in C

Match the following file-handling functions in Column A with their functionalities in Column B:

| Column - A | Column - B |
| :--- | :--- |
| 1. fopen() | iii. Opens a file |
| 2. fclose() | ii. Closes an open file |
| 3. fwrite() | iv. Writes data to a file |
| 4. fread() | i. Reads data from a file |

Choose the correct options:

Q16
Database Management Systems (DBMS) & SQLRelational Data Model

Which of the following is a property of the relational database model?

Q17
Database Management Systems (DBMS) & SQLSQL Aggregate Functions (COUNT)

What is the result of the following SQL query?

```sql
SELECT COUNT(*)
FROM Employee
WHERE Salary > 50000;
```

Q18
Database Management Systems (DBMS) & SQLACID Properties of Transactions

Which of the following is NOT a characteristic of transactions in DBMS?

Q19
Database Management Systems (DBMS) & SQLDatabase Normalization (1NF, 2NF, 3NF)

Which of the following statements about normalization are correct?
1. Normalization reduces redundancy in a database
2. Normalization increases data integrity
3. Third Normal Form (3NF) removes transitive dependencies
4. First Normal Form (1NF) ensures data is atomic

Choose the correct options:

Q20
Database Management Systems (DBMS) & SQLDatabase Keys & Constraints

Match the following database terms with their descriptions:

| Term | Description |
| :--- | :--- |
| i. Primary Key | 1. Uniquely identifies a record |
| ii. Foreign Key | 2. Enforces referential integrity |
| iii. Candidate Key | 3. Can be a primary key |
| iv. Composite Key | 4. Made up of multiple attributes |

Choose the correct options:

Q21
Database Management Systems (DBMS) & SQLQuery Processing & Optimization Steps

Arrange the following steps in query processing in the correct order:
1. Query Optimization
2. Query Parsing
3. Execution Plan Generation
4. Query Execution

Choose the correct options:

Q22
Web Technologies & Internet ProtocolsCSS Stacking Order & z-index

What does the z-index property in CSS determine?

Q23
Database Management Systems (DBMS) & SQLCandidate Keys & Functional Dependencies

A table has 5 attributes. If the table is in 1NF, how many candidate keys can it have?

Q24
Database Management Systems (DBMS) & SQLDatabase Indexing Pros & Cons

Which of the following are advantages of indexing in a database?
1. Improves query performance
2. Reduces storage requirements
3. Increases the speed of updates and inserts
4. Enables faster retrieval of rows

Choose the correct options:

Q25
Database Management Systems (DBMS) & SQLSQL DML Commands

Match the following SQL commands with their purposes:

| SQL Command | Purpose |
| :--- | :--- |
| i. SELECT | 1. Retrieve data |
| ii. INSERT | 2. Add new rows |
| iii. UPDATE | 3. Modify existing data |
| iv. DELETE | 4. Remove data |

Choose the correct options:

Q26
Database Management Systems (DBMS) & SQLTransaction Lifecycle

Arrange the following steps in the execution of a transaction in the correct order:
1. Start
2. Execute operations
3. Commit or rollback
4. End

Choose the correct options:

Q27
Database Management Systems (DBMS) & SQLSQL Fundamentals

What does SQL stand for?

Q28
Web Technologies & Internet ProtocolsHTTP vs HTTPS Protocols

Which of the following statements about HTTP and HTTPS are correct?
1. HTTP sends data in plain text, whereas HTTPS encrypts data
2. HTTPS requires an SSL/TLS certificate
3. HTTPS operates on port 443, whereas HTTP operates on port 80
4. HTTPS is faster than HTTP because of encryption

Choose the correct options:

Q29
Database Management Systems (DBMS) & SQLForeign Key Constraints & Referential Integrity

Which of the following statements about foreign keys are true?
1. A foreign key can have duplicate values
2. A foreign key must refer to a primary key in another table
3. A foreign key ensures referential integrity
4. A foreign key value cannot be NULL

Choose the correct options:

Q30
Database Management Systems (DBMS) & SQLDatabase Design Lifecycle

Arrange the following operations in the correct order for database design:
1. Requirement Analysis
2. Conceptual Design
3. Logical Design
4. Physical Design

Choose the correct options:

Q31
C Programming & Data StructuresDoubly vs Singly Linked Lists

Which of the following operations is performed more efficiently by a doubly linked list than by a singly linked list?

Q32
C Programming & Data StructuresBinary Tree Height & Properties

The height of a complete binary tree with n nodes is given by:

Q33
C Programming & Data StructuresHashing & Linear Probing

A hash table with 10 slots uses open addressing with linear probing. What is the average time complexity for an unsuccessful search?

Q34
C Programming & Data StructuresAVL Trees & Balance Factor

Which of the following statements about AVL trees are correct?
1. AVL trees are height-balanced binary search trees
2. AVL trees allow duplicate elements
3. The balance factor of any node in an AVL tree is either -1, 0, or 1
4. Insertion in an AVL tree may require rebalancing

Choose the correct options:

Q35
C Programming & Data StructuresCore Data Structures & Properties

Match the following data structures with their properties:

| Data Structure | Property |
| :--- | :--- |
| i. Stack | 1. Last-In-First-Out (LIFO) |
| ii. Queue | 2. First-In-First-Out (FIFO) |
| iii. Binary Search Tree | 3. Efficient search operations |
| iv. Hash Table | 4. Uses hash functions for fast access |

Choose the correct options:

Q36
C Programming & Data StructuresMax Heap Insertion Algorithm

Arrange the following steps for inserting an element into a max heap in the correct order:
1. Place the element at the next available position
2. Compare the element with its parent
3. Swap the element with its parent if it is greater
4. Repeat until the heap property is restored

Choose the correct options:

Q37
C Programming & Data StructuresBinary Search Tree Time Complexities

What is the time complexity of searching for an element in a balanced binary search tree (BST)?

Q38
Web Technologies & Internet ProtocolsHTML Document Structure & Meta Tags

What is the purpose of the <meta> tag in HTML?

Q39
C Programming & Data StructuresGraph Theory & Representations

Which of the following statements about graphs are correct?
1. A complete graph contains all possible edges between nodes.
2. In a directed graph, edges have a direction.
3. A graph can be represented using an adjacency matrix or adjacency list.
4. Depth-first search (DFS) is not applicable to cyclic graphs.

Choose the correct options:

Q40
C Programming & Data StructuresTree & Graph Traversals (DFS, BFS, Inorder, Postorder)

Match the following traversal algorithms with their applications:

| Traversal Algorithm | Application |
| :--- | :--- |
| i. Depth-First Search | 1. Solving mazes |
| ii. Breadth-First Search | 2. Finding shortest path in unweighted graphs |
| iii. In-order Traversal | 3. Traversing a binary search tree in sorted order |
| iv. Post-order Traversal | 4. Evaluating expression trees |

Choose the correct options:

Q41
C Programming & Data StructuresBinary Search Tree Deletion

Arrange the following steps for deleting a node from a binary search tree (BST) in the correct order:
1. Find the node to be deleted
2. Replace the node with its in-order successor if it has two children
3. Delete the node if it has no children or one child
4. Rebalance the tree if necessary

Choose the correct options:

Q42
C Programming & Data StructuresCall Stack & Recursion

Which data structure is used for implementing recursion?

Q43
C Programming & Data StructuresLinear Search Time Complexity

What is the worst-case time complexity for searching in an unsorted array of size n?

Q44
C Programming & Data StructuresHeap Data Structure Operations

Which of the following statements about heaps are true?
1. A max heap always has the largest element at the root
2. A heap can be implemented using an array
3. Insertion in a heap has a time complexity of O(log n)
4. Deletion from a heap has a time complexity of O(1)

Choose the correct options:

Q45
C Programming & Data StructuresBreadth-First Search (BFS) Algorithm

Arrange the following steps for performing a breadth-first search (BFS) in the correct order:
1. Enqueue the starting node
2. Dequeue a node from the queue
3. Mark the dequeued node as visited
4. Enqueue all unvisited neighbors of the dequeued node

Choose the correct options:

Q46
Web Technologies & Internet ProtocolsTCP/IP Model Layers

In the TCP/IP model, which layer is responsible for process-to-process communication?

Q47
Web Technologies & Internet ProtocolsBandwidth-Delay Product

A 1 Gbps link has a propagation delay of 2 ms. What is the size of the bandwidth-delay product for the link?

Q48
Web Technologies & Internet ProtocolsIPv6 Architecture & Features

Which of the following statements about IPv6 are correct?
1. IPv6 uses a 128-bit address
2. IPv6 supports header extensions for additional information
3. IPv6 has a checksum in the header
4. IPv6 supports multicast addressing

Choose the correct options:

Q49
Web Technologies & Internet ProtocolsNetwork Devices (Router, Switch, Hub, Firewall)

Match the following networking devices with their purposes:

| Device | Purpose |
| :--- | :--- |
| i. Router | 1. Forward packets based on IP addresses |
| ii. Switch | 2. Forward frames based on MAC addresses |
| iii. Hub | 3. Broadcasts data to all connected devices |
| iv. Firewall | 4. Controls incoming and outgoing traffic |

Choose the correct options:

Q50
Web Technologies & Internet ProtocolsWeb Browsers & Client vs Server Architecture

Which of the following statements about web browsers are correct?
1. A browser renders HTML, CSS, and JavaScript
2. A browser sends HTTP/HTTPS requests to servers
3. A browser is responsible for executing server-side scripts
4. Popular browsers include Chrome, Firefox, and Safari

Choose the correct options:

Q51
Web Technologies & Internet ProtocolsAddress Resolution Protocol (ARP)

What is the purpose of the ARP (Address Resolution Protocol)?

Q52
Web Technologies & Internet ProtocolsNetwork Delays & Transmission Calculations

What will be the total time required to transmit a 1,000-byte file over a 1 Mbps link with a latency of 10 ms?

Q53
Web Technologies & Internet ProtocolsTCP Protocol Architecture & Features

Which of the following are features of the TCP protocol?
1. Connection-oriented
2. Reliable data transfer
3. Flow control
4. Low overhead compared to UDP

Choose the correct options:

Q54
Web Technologies & Internet ProtocolsApplication Layer Protocols

Match the following protocols with their primary purposes:

| Protocol | Purpose |
| :--- | :--- |
| i. HTTP | 1. Transfer web pages |
| ii. FTP | 2. Transfer files between systems |
| iii. SMTP | 3. Send email |
| iv. ICMP | 4. Network diagnostics |

Choose the correct options:

Q55
Web Technologies & Internet ProtocolsOSI Reference Model Layers

Which layer of the OSI model is responsible for ensuring reliable data transfer?

Q56
Web Technologies & Internet ProtocolsStandard Network Port Numbers

What is the default port number for HTTPS?

Q57
Web Technologies & Internet ProtocolsUser Datagram Protocol (UDP)

Which of the following statements about UDP are correct?
1. UDP is connectionless
2. UDP is faster than TCP
3. UDP provides error correction
4. UDP is used for real-time applications like video streaming

Choose the correct options:

Q58
Web Technologies & Internet ProtocolsOSI Hierarchy Top-to-Bottom

Arrange the following layers of the OSI model in order from top to bottom:
1. Application Layer
2. Transport Layer
3. Network Layer
4. Data Link Layer

Choose the correct options:

Q59
Object Oriented Programming (C++, Java, C#)Runtime Polymorphism & Virtual Functions

Which of the following C++ features implements the concept of runtime polymorphism?

Q60
Object Oriented Programming (C++, Java, C#)Virtual Function Overriding in C++

What is the output of the following C++ code?

```cpp
#include <iostream>
using namespace std;

class Base {
public:
virtual void display() { cout << "Base" << endl; }
};

class Derived: public Base {
public:
void display() { cout << "Derived" << endl; }
};

int main() {
Base* b;
Derived d;
b = &d;
b->display();
return 0;
}
```

Q61
Object Oriented Programming (C++, Java, C#)Constructor & Destructor Order in Inheritance

In C++, which of the following is the correct order of constructor and destructor calls in a derived class?

Q62
Object Oriented Programming (C++, Java, C#)Multiple Inheritance & Virtual Base Classes

Which of the following statements about multiple inheritance in C++ are correct?
1. It allows a class to inherit from more than one base class
2. It increases the complexity of the class hierarchy
3. It may lead to ambiguity issues
4. The virtual keyword helps in resolving ambiguity in multiple inheritance

Choose the correct options:

Q63
Object Oriented Programming (C++, Java, C#)Core OOP Principles

Match the following OOP principles with their definitions:

| OOP Principle | Definition |
| :--- | :--- |
| i. Encapsulation | 1. Binding data and methods into a single unit |
| ii. Abstraction | 2. Hiding implementation details |
| iii. Inheritance | 3. Acquiring properties of another class |
| iv. Polymorphism | 4. Using the same interface for different actions |

Choose the correct options:

Q64
Object Oriented Programming (C++, Java, C#)Class Definition & Object Instantiation

Arrange the following steps in order for creating a class in C++:
1. Define the class
2. Add member variables and methods
3. Create objects of the class
4. Use the objects to call class methods

Choose the correct options:

Q65
Object Oriented Programming (C++, Java, C#)Friend Functions & Classes in C++

What is the purpose of the friend function in C++?

Q66
Object Oriented Programming (C++, Java, C#)Object Lifecycle (Constructors & Destructors)

What will the following code output?

```cpp
#include <iostream>
using namespace std;

class MyClass {
public:
MyClass() { cout << "Constructor" << endl; }
~MyClass() { cout << "Destructor" << endl; }
};

int main() {
MyClass obj;
return 0;
}
```

Q67
Object Oriented Programming (C++, Java, C#)Function & Operator Overloading in C++

Which of the following statements about overloading in C++ are correct?
1. Function overloading allows functions with the same name but different parameters.
2. Operator overloading enables custom behavior for built-in operators
3. Function overloading can be based on the return type alone
4. Overloaded functions must differ in their parameter list

Choose the correct options:

Q68
Object Oriented Programming (C++, Java, C#)Advanced C++ OOP Concepts

Match the following C++ concepts with their usage:

| Concept | Usage |
| :--- | :--- |
| i. Virtual Destructor | 1. Prevents resource leaks in inheritance |
| ii. Pure Virtual Function | 2. Forces derived class to implement |
| iii. Static Member | 3. Shared among all objects of the class |
| iv. Constructor | 4. Initializes class members |

Choose the correct options:

Q69
Object Oriented Programming (C++, Java, C#)Operator Overloading Syntax

Arrange the following steps for overloading a binary operator in C++:
1. Define the operator function
2. Use the operator keyword in the function signature
3. Pass at least one argument of the class type
4. Implement the operator functionality

Choose the correct options:

Q70
Web Technologies & Internet ProtocolsHTTP Cookies & Client-Side Storage

Which of the following statements about cookies in web development are correct?
1. Cookies are used to store user data on the client-side
2. Cookies have an expiration date
3. Cookies cannot be accessed by JavaScript
4. Cookies are sent with every HTTP request

Choose the correct options:

Q71
Object Oriented Programming (C++, Java, C#)Core OOP Pillars

Which of the following is a features of object-oriented programming?

Q72
Object Oriented Programming (C++, Java, C#)C++ Constructors & Rules

Which of the following statements about constructors in C++ are correct?
1. Constructors initialize class members
2. A constructor has no return type
3. Constructors can be overloaded
4. A constructor can be declared as virtual

Choose the correct options:

Q73
Object Oriented Programming (C++, Java, C#)Pure Virtual Functions & Abstract Classes

Arrange the following steps for creating a pure virtual function in C++:
1. Declare a function as virtual
2. Use the = 0 syntax to make it pure virtual
3. Implement the function in the derived class
4. Create an abstract class containing the function

Choose the correct options:

Q74
Object Oriented Programming (C++, Java, C#)JVM vs .NET CLR Architecture

Which of the following statements about the JVM and CLR are true?

Q75
Object Oriented Programming (C++, Java, C#)Java Exception Handling

What will the following code output?

```java
int[] arr = {10, 20, 30};
try {
System.out.println(arr[3]);
} catch (ArrayIndexOutOfBoundsException e) {
System.out.println("Error");
}
```

Q76
Object Oriented Programming (C++, Java, C#)Java & .NET Interoperability

Which of the following statements about Java interop with .NET are true?
1. Java code can be integrated with .NET using the IKVM.NET library
2. Java code must be converted into MSIL for execution in .NET.
3. The JNI (Java Native Interface) can be used for interop with .NET libraries
4. Java classes must always be written in .NET-specific IDEs for compatibility

Choose the correct options:

Q77
Object Oriented Programming (C++, Java, C#)Java Special Keywords

Match the following Java keywords with their purposes:

| Keyword | Purpose |
| :--- | :--- |
| i. Synchronized | 1. Ensures thread safety |
| ii. Transient | 2. Excludes variables from serialization |
| iii. Final | 3. Prevent inheritance or modification |
| iv. Volatile | 4. Marks variables to be directly accessed from main memory |

Choose the correct options:

Q78
Object Oriented Programming (C++, Java, C#)Java String Pool (equals vs ==)

What will be the output of the following Java code snippet?

```java
public class Main {
public static void main(String[] args) {
String s1 = "Hello";
String s2 = new String("Hello");
System.out.println(s1.equals(s2) + " " + (s1 == s2));
}
}
```

Choose the correct options:

Q79
Object Oriented Programming (C++, Java, C#)Java Loops & Output Tracing

What will the following Java code output?

```java
for (int i = 0; i < 3; i++) {
System.out.println(i * i);
}
```

Choose the correct options:

Q80
Object Oriented Programming (C++, Java, C#)Java and .NET Framework Comparison

Which of the following are features of Java that are interoperable with .NET?
1. Both support object-oriented programming
2. Both have a garbage collection mechanism
3. Both provide a runtime environment for execution
4. Java bytecode can directly run in .NET CLR.

Choose the correct options:

Q81
Object Oriented Programming (C++, Java, C#)Java Collections Framework (List vs Set)

Which of the following statements about Java collections is true?

Q82
Object Oriented Programming (C++, Java, C#)Java Constants & Final Keyword

Which keyword is used to define a constant in Java?

Q83
Object Oriented Programming (C++, Java, C#)Java Ternary Operator

What will the following Java code output?

```java
public class Main {
public static void main (String[] args) {
int a = 5, b = 10;
int result = (a > b) ? a * b : a + b;
System.out.println(result);
}
}
```

Q84
Object Oriented Programming (C++, Java, C#)Core Java Features

Which of the following statements about Java features are true?
1. Java is platform-independent
2. Java uses a Just-In-Time (JIT) compiler
3. Java does not support multithreading
4. Java is an object-oriented programming language

Choose the correct options:

Q85
Object Oriented Programming (C++, Java, C#)Java Compilation Pipeline

Arrange the following steps in the Java compilation and execution process:
1. Write Java code
2. Compile the code using javac
3. Generate bytecode in a .class file
4. Execute the bytecode using the JVM

Choose the correct options:

Q86
Object Oriented Programming (C++, Java, C#)C# Type Conversion Methods

Which of the following methods is used to convert a string to an integer in C#?

Q87
Object Oriented Programming (C++, Java, C#)C# Conditional Operators

What does the following C# code output?

```csharp
int x = 5, y = 10;
Console.WriteLine(x > y ? "X is greater" : "Y is greater");
```

Q88
Object Oriented Programming (C++, Java, C#).NET Delegates & Multicasting

Which of the following statements about delegates in .NET are correct?
1. Delegates are type-safe function pointers
2. Delegates can point to multiple methods at once
3. Delegates are used for event handling
4. A delegate must match the signature of the method it points to

Choose the correct options:

Q89
Object Oriented Programming (C++, Java, C#)C# Inheritance & Polymorphism Keywords

Match the following C# keywords with their purpose:

| Keyword | Purpose |
| :--- | :--- |
| i. sealed | 1. Prevent further inheritance |
| ii. virtual | 2. Allow method overriding |
| iii. abstract | 3. Declare a method without a body |
| iv. override | 4. Provide implementation for a base method |

Choose the correct options:

Q90
Object Oriented Programming (C++, Java, C#).NET Events & Event Handling Pipeline

Arrange the following steps for handling events in .NET in the correct order:
1. Define a delegate
2. Raise the event
3. Attach the event to an event handler
4. Declare the event using the delegate

Choose the correct options:

Q91
Object Oriented Programming (C++, Java, C#)C# Arrays & Exceptions

What will the following C# code output?

```csharp
int[] numbers = {1, 2, 3, 4, 5};
Console.WriteLine(numbers[5]);
```

Q92
Object Oriented Programming (C++, Java, C#)C# Using Statement & IDisposable

Which of the following are true about the using statement in C#?
1. It ensures the object is disposed of after use.
2. It is only used for importing namespaces
3. It helps manage unmanaged resources like file handles
4. It can be used to simplify code related to IDisposable objects

Choose the correct options:

Q93
Web Technologies & Internet ProtocolsASP.NET State Management & Architecture

Match the following ASP.NET features with their purposes:

| Feature | Purpose |
| :--- | :--- |
| i. ViewState | 1. Maintain state across postbacks |
| ii. Master Pages | 2. Provide a consistent layout |
| iii. Web API | 3. Build RESTful services |
| iv. Session | 4. Store user-specific data |

Choose the correct options:

Q94
Object Oriented Programming (C++, Java, C#)C# Variable Declarations

Which of the following is a valid way to declare a variable in C#?

Q95
Object Oriented Programming (C++, Java, C#)C# Modulo & Operators

What is the output of the following code snippet?

```csharp
int x = 15;
Console.WriteLine(x % 2 == 0 ? "Even" : "Odd");
```

Q96
Web Technologies & Internet ProtocolsASP.NET Web Forms Framework

Which of the following statements about ASP.NET Web Forms are correct?
1. It uses an event-driven programming model.
2. It is part of the .NET Framework
3. It supports server-side controls
4. It does not support AJAX

Choose the correct options:

Q97
Web Technologies & Internet ProtocolsEmail Protocols (SMTP vs IMAP/POP3)

Which of the following protocols is used to send email?

Q98
Software Engineering & SDLCSDLC Models

Which of the following models is not a part of software development life cycle (SDLC)?

Q99
Software Engineering & SDLCWaterfall Model Limitations

What is the main drawback of the Waterfall Model?

Q100
Software Engineering & SDLCAgile Manifesto & Methodology

Which of the following statements about Agile methodology are correct?
1. Agile focuses on iterative development
2. Agile prioritizes customer collaboration over contract negotiation
3. Agile uses a fixed timeline for all phases
4. Agile values responding to change over following a plan

Choose the correct options:

Q101
Software Engineering & SDLCCASE Tools

What does the acronym CASE stand for in software engineering?

Q102
Software Engineering & SDLCBlack-Box vs White-Box Testing

Which of the following testing methods checks the functionality of a program without looking at the code?

Q103
Software Engineering & SDLCSoftware Quality Attributes

Which of the following are characteristics of good software?
1. Maintainability
2. Usability
3. Portability
4. Obsolescence

Choose the correct options:

Q104
Software Engineering & SDLCRequirement Gathering & SRS

Which phase in SDLC focuses on gathering requirements?

Q105
Software Engineering & SDLCSoftware Testing Objectives

What is the main purpose of testing in software engineering?

Q106
Object Oriented Programming (C++, Java, C#)Object-Oriented Design Fundamentals

Which of the following statements about Object-Oriented Programming are true?
1. It supports inheritance
2. It emphasizes reusable code
3. It requires writing all logic in one function
4. It uses classes and objects

Choose the correct options:

Q107
Software Engineering & SDLCSoftware Maintenance Process

Arrange the following steps in the software maintenance process in the correct order:
1. Problem Identification
2. Analysis
3. Design Fixes
4. Implementation

Choose the correct options:

Q108
Operating Systems & System SoftwareCPU Scheduling Algorithms & Starvation

Which scheduling algorithm may cause starvation?

Q109
Operating Systems & System SoftwareProcess Lifecycle & State Transitions

A process is in the "ready" state. What event will move it to the "running" state?

Q110
Operating Systems & System SoftwareTurnaround Time Calculations

What is the turnaround time if a process takes 20 ms for execution and waits 10 ms in the ready queue?

Q111
Operating Systems & System SoftwareMultiprogramming Concepts & Advantages

Which of the following are advantages of multiprogramming?
1. Increased CPU utilization
2. Decreased memory usage
3. Increased throughput
4. Reduced response time

Choose the correct options:

Q112
Operating Systems & System SoftwareCPU Scheduling Algorithms Matching

Match the following types of scheduling with their descriptions:

| Scheduling Type | Description |
| :--- | :--- |
| i. FCFS | 1. Processes are executed in arrival order |
| ii. Round Robin | 2. Processes execute for fixed time slices |
| iii. Priority | 3. Processes with the highest priority run |
| iv. Multilevel Queue | 4. Separate queues for different priorities |

Choose the correct options:

Q113
Operating Systems & System SoftwarePage Fault Handling Mechanism

Arrange the following steps in the correct sequence for handling a page fault:
1. Check if the page is valid
2. Load the page from disk to memory
3. Update the page table
4. Restart the process

Choose the correct options:

Q114
Operating Systems & System SoftwareMemory Management & Relocation

Which of the following memory management techniques does not support relocation?

Q115
Operating Systems & System SoftwareFCFS Scheduling Calculations

A system has 3 processes with the following arrival and burst times:
• Process A: Arrival = 0 ms, Burst = 5 ms
• Process B: Arrival = 1 ms, Burst = 3 ms
• Process C: Arrival = 2 ms, Burst = 8 ms

Using FCFS, what is the waiting time for Process C?

Q116
Operating Systems & System SoftwareDeadlock Conditions & Avoidance

Which of the following statements about deadlocks are correct?
1. Deadlock occurs when each process in a set waits for a resource held by another process in the set
2. Deadlock can be avoided using the Banker's Algorithm
3. Circular wait is a necessary condition for deadlock
4. Deadlock resolution requires process termination

Choose the correct options:

Q117
Operating Systems & System SoftwareOS Synchronization & Memory Concepts

Match the following OS concepts with their purposes:

| Concept | Purpose |
| :--- | :--- |
| i. Semaphore | 1. Synchronize access to shared resources |
| ii. Virtual Memory | 2. Simulates more memory than physically available |
| iii. Thrashing | 3. Excessive paging reduces performance |
| iv. Mutex | 4. Exclusive access to critical sections |

Choose the correct options:

Q118
Operating Systems & System SoftwareOptimal CPU Scheduling (SJF)

Which scheduling algorithm gives the minimum average waiting time?

Q119
Operating Systems & System SoftwarePaging & Memory Fragmentation

Which of the following statements about paging are true?
1. Paging eliminates external fragmentation
2. Paging incurs internal fragmentation
3. Paging uses logical and physical address spaces
4. Paging requires contiguous memory allocation

Choose the correct options:

Q120
Operating Systems & System SoftwareFile System Layered Architecture

Arrange the following layers of a file system in the correct order (from user level to disk level):
1. Application Programs
2. File Organization Module
3. Logical File System
4. Physical File System

Choose the correct options:

🎯 Ready for a Timed Mock Test?

Simulate the real exam experience with a countdown timer, negative marking, and instant detailed scorecards.

📄 More Solved J&K Papers

About JKSSB Junior Programmer 2025 Previous Year Paper

This page provides the full solved question paper for the JKSSB Junior Programmer examination conducted in 2025 by the Information Technology Department. Every MCQ is presented with verified answer keys and detailed bilingual explanations to support concept building.

Key subjects covered in this paper include C Programming & Data Structures, Database Management Systems (DBMS) & SQL, Web Technologies & Internet Protocols, Object Oriented Programming (C++, Java, C#), Software Engineering & SDLC, Operating Systems & System Software. Practicing authentic previous year questions is the proven way to master question patterns and improve accuracy for upcoming exams across Jammu & Kashmir.