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

IBPS SO IT Officer Mains (Memory Based) Question Paper – 29 January 2023 (with Answers)

All 60 questions of the 29 January 2023 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
29 January 2023Exam date
  1. Q.1Professional Knowledge
    What is the total number of networks available in IPv4 Class C?
    Show answer

    Correct answer: option2 —

  2. Q.2Professional Knowledge
    The attribute whose value is derived from another attribute is called?
    1. Primary Attribute
    2. Composite Attribute
    3. Derived Attribute
    4. Foreign Attribute
    5. Unique Attribute
    Show answer

    Correct answer: option3 — Derived Attribute

  3. 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?
    1. Result: 0
    2. Result: 1
    3. Result: true
    4. Compilation Error
    5. None of the above
    Show answer

    Correct answer: option2 — Result: 1

  4. Q.4Professional Knowledge
    Which Linux command is used to display the current version of the kernel?
    1. lskernel
    2. kernel -v
    3. version
    4. uname -v
    5. kerninfo
    Show answer

    Correct answer: option4 — uname -v

  5. 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?
    1. {{q0},{q1},{q1,q2}}
    2. {{q0},{q1},{q0,q1},{q1,q2}}
    3. {{q0},{q1},{q0,q2},{q1,q2}}
    4. {{q0},{q1},{q0,q1,q2}}
    5. None of the above
    Show answer

    Correct answer: option1 — {{q0},{q1},{q1,q2}}

  6. Q.6Professional Knowledge
    In the context of database transactions, a shared lock allows which of the following operations?
    1. Only read operations by multiple transactions simultaneously
    2. Both read and write operations by multiple transactions simultaneously
    3. Only write operations by a single transaction
    4. Both read and write operations by a single transaction
    5. None of these
    Show answer

    Correct answer: option1 — Only read operations by multiple transactions simultaneously

  7. 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.
    1. 0
    2. 1
    3. 2
    4. 3
    5. 4
    Show answer

    Correct answer: option1 — 0

  8. Q.8Professional Knowledge
    According to the IEEE 802.3 standard, what is the maximum cable length of a single 100Base-TX Ethernet segment?
    1. 100 meters
    2. 200 meters
    3. 185 meters
    4. 500 meters
    5. 1000 meters
    Show answer

    Correct answer: option1 — 100 meters

  9. 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?
    1. Transactions T1, T2, and T4 can simultaneously hold S-locks on the same resource.
    2. Transaction T3 can obtain an X-lock while T1 holds an S-lock.
    3. Transaction T4 can read the resource while T3 holds an X-lock.
    4. An S-lock and an X-lock are compatible on the same resource.
    5. 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.

  10. Q.10Professional Knowledge
    Which tag is used to create a table in the latest version of HTML?
    1. <div>
    2. <table>
    3. <grid>
    4. <html-table>
    5. <section>
    Show answer

    Correct answer: option2 — <table>

  11. Q.11Professional Knowledge
    Which of the following scenarios can lead to starvation in process scheduling?
    1. A process is stuck in a circular wait due to resource allocation.
    2. A high-priority process continuously preempts a lower-priority process.
    3. All processes have equal priority and resources are allocated fairly.
    4. Processes are executed in the order of their arrival without preemption.
    5. 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.

  12. Q.12Professional Knowledge
    Hyper-V is a product of which of the following?
    1. VMware
    2. Oracle
    3. Microsoft
    4. Red Hat
    5. Google
    Show answer

    Correct answer: option3 — Microsoft

  13. Q.13Professional Knowledge
    Which of the following is a valid identifier in Python?
    1. 1stVariable
    2. variable-name
    3. variable_name
    4. for
    5. variable@name
    Show answer

    Correct answer: option3 — variable_name

  14. Q.14Professional Knowledge
    What is the effective encryption key length used by the Data Encryption Standard (DES), excluding parity bits?
    1. 64 bits
    2. 56 bits
    3. 128 bits
    4. 32 bits
    5. 192 bits
    Show answer

    Correct answer: option2 — 56 bits

  15. Q.15Professional Knowledge
    Which of the following is not a linear data structure?
    1. Array
    2. Stack
    3. Queue
    4. Tree
    5. Linked List
    Show answer

    Correct answer: option4 — Tree

  16. 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?
    1. 255.255.224.0
    2. 255.255.240.0
    3. 255.255.248.0
    4. 255.255.255.192
    5. 255.255.255.0
    Show answer

    Correct answer: option4 — 255.255.255.192

  17. Q.17Professional Knowledge
    In object-oriented programming, what is the method called where one type is defined based on another type?
    1. Inheritance
    2. Class
    3. Object
    4. Polymorphism
    5. Encapsulation
    Show answer

    Correct answer: option1 — Inheritance

  18. Q.18Professional Knowledge
    Which of the following web application attacks involves injecting malicious scripts into trusted websites to target users?
    1. Cross-Site Request Forgery (CSRF)
    2. Injection Attacks
    3. Cross-Site Scripting (XSS)
    4. Distributed Denial-of-Service (DDoS)
    5. Brute Force Attack
    Show answer

    Correct answer: option3 — Cross-Site Scripting (XSS)

  19. Q.19Professional Knowledge
    What is the number of pins in the Intel 8089 I/O processor?
    1. 20
    2. 40
    3. 64
    4. 24
    5. 80
    Show answer

    Correct answer: option2 — 40

  20. Q.20Professional Knowledge
    Which of the following protocols is not part of the HTTP/HTTPS web communication protocol family?
    1. HTTPS
    2. FTP
    3. HTTP
    4. WebDAV
    5. None of the above
    Show answer

    Correct answer: option2 — FTP

  21. Q.21Professional Knowledge
    Which of the following statements about Third Normal Form (3NF) is true?
    1. 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.
    2. 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.
    3. A table is in 3NF if it has no transitive dependencies and every non-prime attribute is partially dependent on a candidate key.
    4. A table is in 3NF if it has no repeating groups and all attributes are atomic.
    5. 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.

  22. Q.22Professional Knowledge
    Which of the following is an example of a bit-oriented protocol?
    1. HDLC (High-Level Data Link Control)
    2. SMTP (Simple Mail Transfer Protocol)
    3. FTP (File Transfer Protocol)
    4. HTTP (Hypertext Transfer Protocol)
    5. None of the above
    Show answer

    Correct answer: option1 — HDLC (High-Level Data Link Control)

  23. Q.23Professional Knowledge
    In IPv4 Class C, what is the range of the first octet?
    1. 1–126
    2. 128–191
    3. 192–223
    4. 224–239
    5. 240–255
    Show answer

    Correct answer: option3 — 192–223

  24. Q.24Professional Knowledge
    Which of the following PDU units corresponds to the Transport and Network Layers in the OSI model?
    1. Packet (Transport Layer), Datagram (Network Layer)
    2. Segment (Transport Layer), Packet (Network Layer)
    3. Datagram (Transport Layer), Frame (Network Layer)
    4. Packet (Transport Layer), Frame (Network Layer)
    5. None of the above
    Show answer

    Correct answer: option2 — Segment (Transport Layer), Packet (Network Layer)

  25. Q.25Professional Knowledge
    What will be the output of the following C program?
    1. 5
    2. 10
    3. 15
    4. 0
    5. Compilation Error
    Show answer

    Correct answer: option3 — 15

  26. Q.26Professional Knowledge
    What is BitLocker?
    1. A disk encryption feature in Windows
    2. A malware protection software
    3. A network firewall tool
    4. A file compression utility
    5. A backup management tool
    Show answer

    Correct answer: option1 — A disk encryption feature in Windows

  27. Q.27Professional Knowledge
    Which CPU register stores the address of the next instruction before it is fetched from memory?
    1. Instruction Register (IR)
    2. Memory Address Register (MAR)
    3. Program Counter (PC)
    4. Accumulator (AC)
    5. Stack Pointer (SP)
    Show answer

    Correct answer: option3 — Program Counter (PC)

  28. Q.28Professional Knowledge
    In C Programming, the ternary operator is also called as:
    1. Conditional Operator
    2. Logical Operator
    3. Bitwise Operator
    4. Relational Operator
    5. Arithmetic Operator
    Show answer

    Correct answer: option1 — Conditional Operator

  29. 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?
    1. Spoofing
    2. SQL Injection
    3. Eavesdropping
    4. Denial of Service (DoS)
    5. Phishing
    Show answer

    Correct answer: option3 — Eavesdropping

  30. Q.30Professional Knowledge
    Which of the following statements about offsite recovery strategies is correct?
    1. A hot site provides fully operational systems with real-time data mirroring and requires minimal downtime during recovery.
    2. A cold site has all the necessary equipment pre-installed and ready to use in case of a disaster.
    3. A warm site is identical to a hot site but does not provide real-time data synchronization.
    4. A backup site is typically a secondary facility that is fully equipped and ready for immediate switchover.
    5. 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.

  31. Q.31Professional Knowledge
    Which of the following is a general-purpose processing register?
    1. PC
    2. DR
    3. IR
    4. AR
    5. None of the above
    Show answer

    Correct answer: option5 — None of the above

  32. Q.32Professional Knowledge
    The reserved words in C programming are called?
    1. Constants
    2. Identifiers
    3. Keywords
    4. Operators
    5. Functions
    Show answer

    Correct answer: option3 — Keywords

  33. Q.33Professional Knowledge
    Which of the following testing types focuses on verifying individual components or modules of a software application?
    1. Integration Testing
    2. Unit Testing
    3. System Testing
    4. Acceptance Testing
    5. Regression Testing
    Show answer

    Correct answer: option2 — Unit Testing

  34. 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?
    1. F
    2. G
    3. H
    4. J
    5. K
    Show answer

    Correct answer: option4 — J

  35. 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?
    1. x = 0, y = 10
    2. x = 10, y = 10
    3. x = 10, y = some garbage value
    4. x = 0, y = some garbage value
    5. Compilation Error
    Show answer

    Correct answer: option3 — x = 10, y = some garbage value

  36. 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.
    1. Average Waiting Time: 4.2, Average Turnaround Time: 8.2
    2. Average Waiting Time: 6.0, Average Turnaround Time: 11.0
    3. Average Waiting Time: 4.6, Average Turnaround Time: 8.6
    4. Average Waiting Time: 3.8, Average Turnaround Time: 8.4
    5. 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

  37. Q.37Professional Knowledge
    Which communication mode allows data transmission in both directions simultaneously?
    1. Simplex
    2. Half Duplex
    3. Full Duplex
    4. Asynchronous
    5. Synchronous
    Show answer

    Correct answer: option3 — Full Duplex

  38. 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.
    1. 440
    2. 620
    3. 560
    4. 735
    5. 644
    Show answer

    Correct answer: option5 — 644

  39. Q.39Professional Knowledge
    Which of the following is a NoSQL database?
    1. MariaDB
    2. MySQL
    3. Cassandra
    4. Informix
    5. DB2
    Show answer

    Correct answer: option3 — Cassandra

  40. Q.40Professional Knowledge
    What is the height of an AVL tree with 12 nodes, assuming the degree of the root node is 0?
    1. 3
    2. 4
    3. 5
    4. 6
    5. None of the above
    Show answer

    Correct answer: option2 — 4

  41. Q.41Professional Knowledge
    What is the purpose of the -n option in the Linux traceroute command?
    1. Displays the output in numeric IP format without resolving hostnames
    2. Traces routes to the local network only
    3. Resolves hostnames to domain names
    4. Specifies the maximum number of hops
    5. Displays additional debugging information
    Show answer

    Correct answer: option1 — Displays the output in numeric IP format without resolving hostnames

  42. Q.42Professional Knowledge
    What type of VLAN is used to carry traffic from multiple VLANs across a single link?
    1. Access
    2. Native
    3. Trunk
    4. Management
    5. Voice
    Show answer

    Correct answer: option3 — Trunk

  43. 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?
    1. 7
    2. 8
    3. 9
    4. 10
    5. 6
    Show answer

    Correct answer: option1 — 7

  44. Q.44Professional Knowledge
    What are the partitioning styles available in Windows operating systems?
    1. NTFS and FAT32
    2. Primary and Extended
    3. Logical and Physical
    4. MBR and GPT
    5. BIOS and UEFI
    Show answer

    Correct answer: option4 — MBR and GPT

  45. Q.45Professional Knowledge
    Which transport layer protocol is used by SMTP?
    1. TCP
    2. UDP
    3. ICMP
    4. SCTP
    5. ARP
    Show answer

    Correct answer: option1 — TCP

  46. Q.46Professional Knowledge
    Match the following OSI layers with their corresponding functionalities: Choose the correct matching:
    1. 1-c, 2-d, 3-a, 4-b
    2. 1-d, 2-a, 3-b, 4-c
    3. 1-a, 2-c, 3-d, 4-b
    4. 1-c, 2-b, 3-d, 4-a
    5. 1-d, 2-c, 3-a, 4-b
    Show answer

    Correct answer: option1 — 1-c, 2-d, 3-a, 4-b

  47. Q.47Professional Knowledge
    What is the binary equivalent of 726?
    1. 1011010110
    2. 1101101010
    3. 1110010110
    4. 1010110110
    5. 1110101010
    Show answer

    Correct answer: option1 — 1011010110

  48. Q.48Professional Knowledge
    In the context of server security, which of the following real-world practices is NOT desirable?
    1. Using a reverse proxy to hide server IP addresses
    2. Deploying servers in a DMZ (Demilitarized Zone) for public-facing services
    3. Disabling unnecessary services and ports on the server
    4. Allowing unrestricted root login via SSH for faster access
    5. Enforcing regular vulnerability assessments on the server
    Show answer

    Correct answer: option4 — Allowing unrestricted root login via SSH for faster access

  49. 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?
    1. final
    2. static
    3. transient
    4. volatile
    5. synchronized
    Show answer

    Correct answer: option2 — static

  50. 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. 1: True, 2: True, 3: False
    2. 1: True, 2: False, 3: True
    3. 1: False, 2: True, 3: True
    4. 1: False, 2: False, 3: True
    5. 1: True, 2: False, 3: False
    Show answer

    Correct answer: option2 — 1: True, 2: False, 3: True

  51. Q.51Professional Knowledge
    Which UNIX command is used to display the kernel name?
    1. whoami
    2. kernel
    3. uname
    4. hostname
    5. sysinfo
    Show answer

    Correct answer: option3 — uname

  52. Q.52Professional Knowledge
    Which of the following is a private IP address?
    1. 192.168.1.1
    2. 172.32.0.1
    3. 10.0.0.1
    4. 8.8.8.8
    5. 172.15.0.1
    Show answer

    Correct answer: option1 — 192.168.1.1

  53. 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?
    1. (i): True, (ii): True, (iii): False
    2. (i): True, (ii): False, (iii): False
    3. (i): False, (ii): True, (iii): True
    4. (i): True, (ii): True, (iii): True
    5. (i): False, (ii): False, (iii): True
    Show answer

    Correct answer: option1 — (i): True, (ii): True, (iii): False

  54. Q.54Professional Knowledge
    Dirty bit is used to identify which of the following?
    1. Pages that are modified in memory but not written to disk
    2. Pages that are currently in use in memory
    3. Pages that are swapped out to disk
    4. Pages that are read-only in memory
    5. Pages that are not loaded in memory
    Show answer

    Correct answer: option1 — Pages that are modified in memory but not written to disk

  55. Q.55Professional Knowledge
    What is the final value of a after the loops are executed in the following program?
    1. -5
    2. 0
    3. 5
    4. 10
    5. None of the above
    Show answer

    Correct answer: option2 — 0

  56. Q.56Professional Knowledge
    Which of the following is NOT a feature of Extreme Programming (XP)?
    1. Pair programming
    2. Continuous feedback from the customer
    3. Fixed project requirements before development
    4. Test-driven development (TDD)
    5. Continuous integration
    Show answer

    Correct answer: option3 — Fixed project requirements before development

  57. Q.57Professional Knowledge
    Which of the following is a type of Intrusion Detection System that analyzes network traffic in real- time?
    1. Host-Based IDS (HIDS)
    2. Network-Based IDS (NIDS)
    3. Signature-Based IDS
    4. Anomaly-Based IDS
    5. Behavior-Based IDS
    Show answer

    Correct answer: option2 — Network-Based IDS (NIDS)

  58. Q.58Professional Knowledge
    A subset of a Data Warehouse designed for a specific department is called:
    1. Data Mart
    2. ODS
    3. Cloud Warehouse
    4. Metadata store
    5. None of the above
    Show answer

    Correct answer: option1 — Data Mart

  59. Q.59Professional Knowledge
    Which cloud model allows end-users to access software applications via a web browser without needing local installation?
    1. IaaS
    2. PaaS
    3. SaaS
    4. FaaS
    5. DaaS
    Show answer

    Correct answer: option3 — SaaS

  60. Q.60Professional Knowledge
    Which of the following exemplifies Divide and Conquer?
    1. Heapsorts
    2. Insertion sort
    3. Bubble sort
    4. Merge sort
    5. None of the above
    Show answer

    Correct answer: option4 — Merge sort

Answer key

Option number of the correct answer for each question.

122332445161718191102112123133142154164171183192202211221233242253261273281293301315323332344353364373385393402411423431444451461471484492502513521531541552563572581593604

About this paper

Source: a memory-based paper, rebuilt from what candidates remembered after the exam (the IBPS SO IT Officer mains of 29 January 2023). 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