1. Home
  2. Previous Year Papers
  3. IBPS SO
  4. 2024
  5. 28 January 2024
Institute of Banking Personnel Selection (IBPS) · Mains

IBPS SO IT Officer Mains (Memory Based) Question Paper – 28 January 2024 (with Answers)

All 60 questions of the 28 January 2024 paper, with all the options and the correct answer. Read it here, or take the same paper as a timed test and see your score and rank.

Disclaimer: We do not own this question paper or its questions. They belong to the government body that conducted the examination. The paper is shared here in good faith, free of cost, only to help students prepare better.

60Questions
45 minDuration
+1 / −0.25Marking
28 January 2024Exam date
  1. Q.1Professional Knowledge
    In indirect addressing mode, what does the address field of an instruction contain?
    1. The effective address of the operand directly
    2. The operand value itself
    3. The address of a memory location that stores the effective address
    4. The address stored in the program counter
    5. The register number containing the operand
    Show answer

    Correct answer: option3 — The address of a memory location that stores the effective address

  2. 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?
    1. The length of the string "Hello, World!" is: 13
    2. The length of the string "Hello, World!" is: 12
    3. Compilation Error
    4. Runtime Error: String cannot be null
    5. The length of the string "Hello, World!" is: 14
    Show answer

    Correct answer: option1 — The length of the string "Hello, World!" is: 13

  3. 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?
    1. Thresholding, Laplacian
    2. Quantization, Sobel
    3. Sampling, Prewitt
    4. Thresholding, Canny
    5. Compression, Roberts
    Show answer

    Correct answer: option4 — Thresholding, Canny

  4. Q.4Professional Knowledge
    Which grayscale conversion approach generates a grayscale image by assigning equal importance to all three RGB components?
    1. Weighted luminance transformation
    2. Unweighted averaging of the RGB channels
    3. Edge-based grayscale transformation
    4. Alpha-transparency mapping
    5. Contrast-normalized grayscale encoding
    Show answer

    Correct answer: option2 — Unweighted averaging of the RGB channels

  5. Q.5Professional Knowledge
    Which of the following statements correctly describe the return values of the fork() system call in a Unix-like operating system?
    1. 0 to the child process and a positive value (child’s PID) to the parent process
    2. 1 to the child process and 0 to the parent process
    3. A negative value if the fork fails
    4. Both (a) and (c)
    5. None of the above
    Show answer

    Correct answer: option4 — Both (a) and (c)

  6. Q.6Professional Knowledge
    Convert the hexadecimal number 1B0 into its binary equivalent.
    1. 000110110000
    2. 001011100000
    3. 000101110000
    4. 000110101000
    5. 000100110000
    Show answer

    Correct answer: option1 — 000110110000

  7. Q.7Professional Knowledge
    Which of the following operators has the highest precedence in C++?
    1. Addition (+)
    2. Logical AND (&&)
    3. Multiplication (*)
    4. Function call operator (())
    5. Assignment (=)
    Show answer

    Correct answer: option4 — Function call operator (())

  8. 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; }
    1. 14 + 12 = 25
    2. 14 - 0 = 14
    3. 25 + 14 = 39
    4. Compilation Error
    5. Syntax Error
    Show answer

    Correct answer: option3 — 25 + 14 = 39

  9. Q.9Professional Knowledge
    Assuming each arithmetic and output operation takes constant time, what is the overall time complexity of the following code?
    1. O(n)
    2. O(n²)
    3. O(n³)
    4. O(n log n)
    5. O(log n)
    Show answer

    Correct answer: option3 — O(n³)

  10. Q.10Professional Knowledge
    Which TCP port is traditionally assigned as the standard default port for unencrypted SMTP communication between mail servers?
    1. 80
    2. 25
    3. 110
    4. 143
    5. 465
    Show answer

    Correct answer: option2 — 25

  11. 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?
    1. Queue
    2. Stack
    3. Linked List
    4. Heap
    5. Hash Table
    Show answer

    Correct answer: option2 — Stack

  12. 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?
    1. Binarization
    2. Image Enhancement
    3. Grayscale Conversion
    4. Quantization
    5. Segmentation
    Show answer

    Correct answer: option1 — Binarization

  13. Q.13Professional Knowledge
    Which of the following statements is TRUE regarding the COCOMO?
    1. COCOMO completely ignores cost drivers such as hardware and personnel factors.
    2. COCOMO is mainly designed for managing Agile sprint backlogs and scrum cycles.
    3. Intermediate COCOMO refines software effort estimation using cost drivers.
    4. COCOMO estimates software quality using normalization and dependency analysis only.
    5. 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.

  14. Q.14Professional Knowledge
    Which command in Linux is used to estimate and display the disk space usage of files and directories?
    1. ls
    2. df
    3. du
    4. top
    5. mkdir
    Show answer

    Correct answer: option3 — du

  15. Q.15Professional Knowledge
    Which of the following statements is true regarding a Foreign Key in a relational database?
    1. A foreign key uniquely identifies every record in a table.
    2. A foreign key is primarily used to sort records in ascending order.
    3. A foreign key establishes a relationship between two tables using referenced values.
    4. A foreign key must always contain only unique values.
    5. 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.

  16. Q.16Professional Knowledge
    What is the maximum file size supported by the original Macintosh Hierarchical File System (HFS)?
    1. 2 GB
    2. 4 GB
    3. 8 GB
    4. 16 GB
    5. 32 GB
    Show answer

    Correct answer: option1 — 2 GB

  17. 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?
    1. Assembly
    2. C
    3. Perl
    4. C++
    5. Machine Language
    Show answer

    Correct answer: option3 — Perl

  18. 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?
    1. Agile
    2. Waterfall
    3. Spiral
    4. V-Model
    5. Prototyping
    Show answer

    Correct answer: option2 — Waterfall

  19. 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; }
    1. Reversed Stack: 12 96 58 25 34
    2. Reversed Stack: 34 25 58 96 12
    3. Reversed Stack: 25 34 58 96 12
    4. Reversed Stack: 96 58 25 34 12
    5. Compilation Error
    Show answer

    Correct answer: option2 — Reversed Stack: 34 25 58 96 12

  20. 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.
    1. 7.0 ms
    2. 5.5 ms
    3. 6.25 ms
    4. 5.0 ms
    5. 6.0 ms
    Show answer

    Correct answer: option1 — 7.0 ms

  21. Q.21Professional Knowledge
    If two attributes, P and Q, satisfy the functional dependencies P → Q and Q → P, then they exhibit:
    1. Partial Dependency
    2. Full Functional Dependency
    3. Transitive Dependency
    4. Multivalued Dependency
    5. Mutual Functional Dependency
    Show answer

    Correct answer: option5 — Mutual Functional Dependency

  22. 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?
    1. Virtual Machine Isolation
    2. Hardware Emulation
    3. Resource Allocation
    4. Network Virtualization
    5. Snapshot Management
    Show answer

    Correct answer: option3 — Resource Allocation

  23. Q.23Professional Knowledge
    In an operating system, where are newly submitted processes typically stored before they are admitted into main memory for execution?
    1. Job Pool
    2. Process Table
    3. Ready Queue
    4. Cache Memory
    5. Stack
    Show answer

    Correct answer: option1 — Job Pool

  24. Q.24Professional Knowledge
    Which SQL operator is used to filter rows by checking whether a value matches any value in a specified list?
    1. BETWEEN
    2. IN
    3. LIKE
    4. EXISTS
    5. DISTINCT
    Show answer

    Correct answer: option2 — IN

  25. Q.25Professional Knowledge
    Which of the following statements regarding mutual exclusion in operating systems is false?
    1. No two processes can execute in their critical sections simultaneously.
    2. Multiple processes can safely access a shared critical resource simultaneously without synchronization.
    3. Processes outside the critical section should not interfere with processes inside the critical section.
    4. Mutual exclusion helps prevent race conditions during shared resource access.
    5. 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.

  26. 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?
    1. The color of the target
    2. The size of the cursor
    3. The distance to the target and the size of the target
    4. The screen resolution
    5. The type of input device used
    Show answer

    Correct answer: option3 — The distance to the target and the size of the target

  27. Q.27Professional Knowledge
    Which of the following is the most fundamental benefit provided by inheritance in object-oriented programming?
    1. Faster execution of programs
    2. Enhanced code readability
    3. Increased code reusability
    4. Simplified debugging process
    5. Improved memory management
    Show answer

    Correct answer: option3 — Increased code reusability

  28. Q.28Professional Knowledge
    Which of the following best describes the function of the z-index property in CSS?
    1. It determines the horizontal position of an element.
    2. It specifies the vertical position of an element.
    3. It controls the stacking order of elements along the z-axis.
    4. It adjusts the opacity of an element.
    5. It sets the font size of an element.
    Show answer

    Correct answer: option3 — It controls the stacking order of elements along the z-axis.

  29. Q.29Professional Knowledge
    Which of the following is an aggregate function in SQL?
    1. CONCAT()
    2. AVG()
    3. SUBSTRING()
    4. LENGTH()
    5. NOW()
    Show answer

    Correct answer: option2 — AVG()

  30. Q.30Professional Knowledge
    Which of the following statements regarding Super Key and Primary Key is incorrect?
    1. Every primary key is a super key.
    2. A super key may contain additional attributes not required for unique identification.
    3. A table can have multiple super keys.
    4. Every super key is selected as the primary key of a table.
    5. 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.

  31. Q.31Professional Knowledge
    Which of the following is a valid use of the netsh command in Windows?
    1. To modify network interface settings.
    2. To create a new directory.
    3. To open the Task Manager.
    4. To install a software application.
    5. To check the system temperature.
    Show answer

    Correct answer: option1 — To modify network interface settings.

  32. 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?
    1. Length of the string : 19
    2. Length of the string : 13
    3. Length of the string : 17
    4. Length of the string : 9
    5. Compilation Error
    Show answer

    Correct answer: option4 — Length of the string : 9

  33. 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?
    1. SYN Flood
    2. Ping of Death
    3. Smurf Attack
    4. DNS Amplification
    5. UDP Flood
    Show answer

    Correct answer: option3 — Smurf Attack

  34. Q.34Professional Knowledge
    Which of the following statements regarding the #define directive in C is incorrect?
    1. #define can be used to create symbolic constants.
    2. #define can define function-like macros with parameters.
    3. Macros created using #define are expanded by the preprocessor before compilation.
    4. #define can be used to create multi-line macros using the backslash () continuation character.
    5. #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.

  35. Q.35Professional Knowledge
    Which of the following commands in Linux is primarily used for network scanning and security auditing?
    1. netset
    2. tcpdump
    3. ifconfig
    4. nmap
    5. traceroute
    Show answer

    Correct answer: option4 — nmap

  36. Q.36Professional Knowledge
    In MongoDB, which feature is particularly useful for ensuring data availability and reliability in case of hardware failure or network issues?
    1. Sharding
    2. Indexing
    3. Replication
    4. Aggregation
    5. Caching
    Show answer

    Correct answer: option3 — Replication

  37. Q.37Professional Knowledge
    Identify the local link address from the following IPv6 addresses:
    1. 2001:0db8:abcd:0012:0000:0000:0000:0001
    2. FE80:0000:0000:0000:0202:B3FF:FE1E:8329
    3. FF02:0000:0000:0000:0000:0000:0000:0001
    4. ::1
    5. 2001:4860:4860::8888
    Show answer

    Correct answer: option2 — FE80:0000:0000:0000:0202:B3FF:FE1E:8329

  38. 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:
    1. 9
    2. 45
    3. 20
    4. 54
    5. None of the above
    Show answer

    Correct answer: option3 — 20

  39. Q.39Professional Knowledge
    Salesforce CRM is an example of which cloud service model?
    1. Infrastructure as a Service (IaaS)
    2. Platform as a Service (PaaS)
    3. Software as a Service (SaaS)
    4. Database Management System (DBMS)
    5. None of the above
    Show answer

    Correct answer: option3 — Software as a Service (SaaS)

  40. Q.40Professional Knowledge
    How is the salting technique used in hashing for enhanced security?
    1. It converts plain text into hashed text using the MD5 algorithm without adding any extra data.
    2. It adds a random value to the input data before hashing to make each hash unique.
    3. It encrypts the hashed data using a symmetric encryption algorithm.
    4. It stores the hash directly without any modification or additional data.
    5. 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.

  41. 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?
    1. DNS server is down or misconfigured
    2. The website’s IP address has changed recently
    3. Browser cache is not cleared
    4. Incorrect firewall settings
    5. Outdated operating system
    Show answer

    Correct answer: option1 — DNS server is down or misconfigured

  42. Q.42Professional Knowledge
    What happens during a cache hit in a computer system?
    1. Data is transferred directly to the hard drive
    2. Data is fetched from main memory into the cache
    3. Requested data is retrieved directly from the cache memory
    4. Data is permanently stored in the cache
    5. The cache memory is cleared
    Show answer

    Correct answer: option3 — Requested data is retrieved directly from the cache memory

  43. 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?
    1. =IF(CELL("contents",A1)="v",A1*2,0)
    2. =IF(CELL("format",A1)="v",A1*2,0)
    3. =IF(CELL("type",A1)="v",A1*2,0)
    4. =IF(CELL("address",A1)="v",A1*2,0)
    5. =IF(CELL("col",A1)="v",A1*2,0)
    Show answer

    Correct answer: option3 — =IF(CELL("type",A1)="v",A1*2,0)

  44. 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?
    1. Deadlock
    2. Thrashing
    3. Starvation
    4. Fragmentation
    5. Bottleneck
    Show answer

    Correct answer: option2 — Thrashing

  45. Q.45Professional Knowledge
    Under standard DBMS transaction theory used in basic SQL classification, which of the following commands is generally rollback-able before COMMIT?
    1. SELECT
    2. COMMIT
    3. DELETE
    4. CREATE
    5. ALTER
    Show answer

    Correct answer: option3 — DELETE

  46. Q.46Professional Knowledge
    What is the tcpdump command in Linux used for?
    1. To capture and analyze network packets.
    2. To display disk usage statistics.
    3. To monitor CPU and memory usage.
    4. To manage user accounts.
    5. To create and manage cron jobs.
    Show answer

    Correct answer: option1 — To capture and analyze network packets.

  47. Q.47Professional Knowledge
    In a relational database, which term represents a missing, unknown, or unavailable attribute value?
    1. Empty table
    2. Derived value
    3. Null value
    4. Default value
    5. Zero value
    Show answer

    Correct answer: option3 — Null value

  48. 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?
    1. To read the next character from the file stream
    2. To determine whether the end-of-file indicator for the file stream has been set
    3. To close the file after all characters are read
    4. To move the file pointer to the beginning of the file
    5. 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

  49. 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?
    1. 8
    2. 16
    3. 32
    4. 64
    5. 256
    Show answer

    Correct answer: option2 — 16

  50. 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?
    1. Spanning Tree Protocol (STP)
    2. Port Mirroring
    3. VLAN (Virtual Local Area Network)
    4. Link Aggregation
    5. QoS (Quality of Service)
    Show answer

    Correct answer: option3 — VLAN (Virtual Local Area Network)

  51. Q.51Professional Knowledge
    Which of the following RF connectors is commonly used with coaxial cables for high-frequency signal transmission?
    1. BNC
    2. HDMI
    3. RJ45
    4. DVI
    5. PS/2
    Show answer

    Correct answer: option1 — BNC

  52. Q.52Professional Knowledge
    A repeater works at which of the following layers in the OSI model?
    1. Physical Layer
    2. Data Link Layer
    3. Network Layer
    4. Transport Layer
    5. Application Layer
    Show answer

    Correct answer: option1 — Physical Layer

  53. Q.53Professional Knowledge
    Which statement correctly describes the functionality of the var_dump() function in PHP?
    1. It assigns default values to one or more variables during execution.
    2. It dumps information about one or more variables, including their type and value.
    3. It formats and logs error messages for debugging purposes.
    4. It creates a new variable and sets its data type automatically.
    5. 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.

  54. Q.54Professional Knowledge
    Which of the following functions is not declared in <stdio.h>?
    1. printf()
    2. scanf()
    3. fopen()
    4. sqrt()
    5. fprintf()
    Show answer

    Correct answer: option4 — sqrt()

  55. Q.55Professional Knowledge
    Which sorting algorithm has a worst-case time complexity of O(n2)?
    1. Merge Sort
    2. Radix Sort
    3. Bubble Sort
    4. Heap Sort
    5. None of the above
    Show answer

    Correct answer: option3 — Bubble Sort

  56. 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. 1
    2. 2
    3. 3
    4. 4
    5. None of the above
    Show answer

    Correct answer: option4 — 4

  57. Q.57Professional Knowledge
    Which of the following algorithms is not used for finding a Minimum Spanning Tree ?
    1. Kruskal's Algorithm
    2. Prim's Algorithm
    3. Boru vka's Algorithm
    4. Bellman-Ford Algorithm
    5. Reverse-Delete Algorithm
    Show answer

    Correct answer: option4 — Bellman-Ford Algorithm

  58. Q.58Professional Knowledge
    Which ACID property ensures that a transaction brings the database from one valid state to another, maintaining all predefined rules?
    1. Atomicity
    2. Consistency
    3. Isolation
    4. Durability
    5. None of the above
    Show answer

    Correct answer: option2 — Consistency

  59. Q.59Professional Knowledge
    Which schema model is widely used in traditional data warehouse design for organizing fact tables and dimension tables?
    1. Star schema
    2. Mesh schema
    3. Hierarchical schema
    4. Graph schema
    5. None of the above
    Show answer

    Correct answer: option1 — Star schema

  60. 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?
    1. Secure Sockets Layer
    2. Kerberos
    3. OAuth 2.0
    4. Lightweight Directory Access Protocol
    5. Transport Layer Security
    Show answer

    Correct answer: option3 — OAuth 2.0

Answer key

Option number of the correct answer for each question.

132134425461748393102112121133143153161173182192201215223231242252263273283292304311324333345354363372383393402411423433442453461473482492503511521532544553564574582591603

About this paper

Source: a memory-based paper, rebuilt from what candidates remembered after the exam (the IBPS SO IT Officer mains of 28 January 2024). The board does not publish its question papers, so the wording and options can differ a little from the original and a few answers may differ from the official key. Treat it as practice material. If you spot a wrong question or answer, tell us on the contact page.

Disclaimer: We do not own this question paper or its questions. They belong to the government body that conducted the examination. The paper is shared here in good faith, free of cost, only to help students prepare better.

Marking in this exam: +1 for a correct answer and −0.25 for a wrong one. Duration 45 minutes.

More IBPS SO question papers

Free Study Planner