Questions IPA Japan published in 基本情報技術者試験 科目A サンプル問題, translated into English, with IPA's answers. ITPEC is based on the same exams, so they are good practice for ITPEC too.
When negative numbers are represented in two’s complement, which of the following is the expression that obtains −n for an 8-bit positive binary number n? Here, + represents addition, OR represents the bitwise logical sum, and XOR represents the bitwise exclusive logical sum.
The flowchart below shows the process of converting a decimal integer j (0 < j < 100) into an 8-digit binary number. The binary number is stored in array elements NISHIN(1) through NISHIN(8), starting from the lowest-order digit. Which of the following is the appropriate combination of processes to be inserted into blanks A and B in the flowchart? Here, j div 2 represents the integer part of the quotient when j is divided by 2, and j mod 2 represents the remainder when j is divided by 2.
(Note) The repetition specification of a loop limit shows variable name: initial value, increment, final value.
Same question on ITPEC: Oct 2024 Q1
P, Q, and R are propositions. It is known that the truth value of proposition P is true, and the values of both the propositions “(not P) or Q” and “(not Q) or R” are true. Which of the following is a combination of the truth values of Q and R? Here, X or Y represents the logical sum of X and Y, and not X represents the negation of X.
Same question on ITPEC: Oct 2025 Q4 +1 more
For an automaton with input and output symbols {0, 1} and a state transition diagram shown below, which of the following is the output string for the input string 0011001110? Here, S1 represents the initial state, and the label x/y on each arc indicates that if x is an input, then y is the corresponding output at the state transition.
When the flowchart in Figure 1 was executed with array A in the state shown in Figure 2, array B came to be in the state shown in Figure 3. Which of the following is the operation to be inserted into blank a in Figure 1? Here, the elements of arrays A and B are A(i, j) and B(i, j), respectively.
Figure 1 Flowchart
(Note) The repetition specification of a loop limit shows variable name: initial value, increment, final value.
Figure 2 State of array A
Figure 3 State of array B after execution
Same question on ITPEC: Apr 2023 Q9
A five-digit number a1a2a3a4a5 needs to be stored in an array by means of hashing. When the hash function is mod (a1+a2+a3+a4+a5, 13) and the number is stored in the array element at the position corresponding to the calculated hash value, which of the following is the position where 54321 is stored in the array? Here, the value of mod (x, 13) is the remainder after dividing x by 13.
Same question on ITPEC: Oct 2024 Q6
The function f(n) is recursively defined in terms of the natural number n as below. Which of the following is the value of f(5)?
f(n): if n≦1 then return 1 else return n + f(n−1)
Which of the following is an appropriate item to be specified in the coding standards of a program?
ECC is used for error detection and correction in memory. When n+2 redundant bits are required for a data bus having a width of 2n bits, what is the number of redundant bits that are required for a data bus having a width of 128 bits?
Same question on ITPEC: Apr 2022 Q13
Which of the following is the list that contains A through D sorted starting with the shortest effective access time of the main memory?
There is a system that operates a virtualized machine environment on 20 physical machines. Under the operating conditions below, at least how many physical machines must stop for the system to go into degraded operation?
[Operating conditions]
Same question on ITPEC: Oct 2025 Q12 +1 more
One (1) server, three (3) clients, and two (2) printers are connected via a LAN as shown in the figure below. This system prints data that is located on the server in response to instructions from the clients. When the availability of each device is as shown in the table below, which of the following is the expression that represents the availability for the system? Here, the system is considered available if one (1) of the three (3) clients and one (1) of the two (2) printers are running.
Same question on ITPEC: Apr 2024 Q14 +1 more
Data is continuously sent for T seconds from the sending task to the receiving task in the diagram below. When the volume of data sent in 1 second is S and the volume of data received in 1 second is R, which of the following is the appropriate relational expression indicating the buffer size L to prevent buffer overflow? Here, the sending task has a higher transfer speed than the receiving task, and there is a sufficient time interval until the start of the next transfer.
When file areas are allocated on three media A through C under the conditions below, which of the following lists the media in descending order of the total amount of the allocated areas?
[Conditions]
Same question on ITPEC: Oct 2019 Q19
Which of the following is an explanation of an absolute path name in a file system?
Same question on ITPEC: Apr 2025 Q17 +4 more
When ordering data is entered in the format shown below, which of the following is the appropriate method for checking whether the order date is a business day that is the same as or prior to the entering date?
Ordering data
Same question on ITPEC: Apr 2023 Q28
Which of the following is the appropriate interpretation of the conceptual data model shown in the diagram in UML?
Which of the following is an appropriate characteristic of a data lake, which is a place where big data is stored?
In the relational model, which of the following is the relational operation that obtains table Y from table X?
X
Y
Which of the following is a wireless communication technology used in IoT, and is used for a network called a wireless PAN (Personal Area Network) in which IT devices at a short distance communicate with each other?
How many seconds are required to transfer 12 Mbytes of data by using a 1.5 Mbit/s transmission line? Here, the transmission efficiency of the line is 50%.
Which of the following is a standard for attaching image data and other such data to e-mail in an environment where TCP/IP is used?
Which of the following is a transport layer protocol that is used when real-time performance is more important than reliability?
Same question on ITPEC: Mar 2018 Q35
A PC and a web server are communicating via HTTP. When a request packet is sent from the PC to the web server, which of the following combinations of port numbers does the response packet have? Here, the source and the destination port numbers of the request packet are 50001 and 80 respectively.
An illicit act of obtaining passwords or confidential information from people inside an organization by pretending that there is an emergency is classified as which of the following?
Same question on ITPEC: Oct 2022 Q43 +1 more
Which of the following is the purpose of using a message authentication code?
Which of the following is the effect that can be expected as an information security measure by introducing a UPS?
Same question on ITPEC: Spr 2020 Q43 +1 more
Which of the following is a method to prevent damage caused by an SQL injection attack?
Same question on ITPEC: Apr 2023 Q45
When a sender from domain A sends an e-mail to a recipient in domain B, which of the following is used by the mail server in domain A for authenticating the sender?
In an object-oriented program, which of the following is the name of combining data and methods into one and making the details of the implementation of an object invisible to users?
Which of the following is a technique for testing whether a module functions as described in the specifications without considering its internal structure?
Among the rules for the sprint in Scrum of agile development, which of the following is appropriate?
Same question on ITPEC: Apr 2023 Q55 +1 more
Which of the following is an appropriate explanation of the Function Point method for creating an estimate for software development?
What is the minimum number of days required from the start to the end of the project that has the schedule plan in the arrow diagram?
Same question on ITPEC: Nov 2021 Q55
Which of the following corresponds to benchmarking in process improvement of service management?
Same question on ITPEC: Nov 2021 Q58
In the event of a disk failure, which of the following is a method for recovering a database by restoring a full backup data onto a disk from a tape, and then reflecting, from logs, post-update copies after the full backup was taken?
Same question on ITPEC: Oct 2020 Q59
Which of the following is the most appropriate measure that a management executive must take to secure the appearance of independence for an internal system auditor?
Same question on ITPEC: Apr 2026 Q45 +1 more
In an information security audit, which of the following is a check item for confirming availability?
For investment projects, when the investment effect over 5 years is evaluated by ROI (Return On Investment), which of the four projects a through d has the highest ROI? Here, the discount rate does not need to be taken into consideration.
a
b
c
d
The national and local governments choose products and services that are acknowledged as actively addressing environmental concerns. What is this initiative called?
Same question on ITPEC: Apr 2022 Q65
Which of the following is an explanation of the core competence?
Which of the following is an explanation of the lean startup advocated by E. Ries as a technique for undertaking a new business?
Same question on ITPEC: Apr 2022 Q73
Among the IoT application examples, which of the following is an explanation of HEMS?
Same question on ITPEC: Apr 2024 Q55 +1 more
Which of the following is an example of Consumer Generated Media (CGM)?
Two (2) types of raw materials A and B are required to manufacture products X and Y. The quantity of each raw material required to manufacture one (1) unit of a product and the procurable quantity are as shown in the table. When the sales profit per unit is 100 yen for product X and 150 yen for product Y, what is the maximum profit in yen?
When a PC purchased for 300,000 yen in April 2020 is sold for 10,000 yen three (3) years later, how much is the loss on sale of fixed assets, in 10,000 yen? Here, the useful life is four (4) years, depreciation is by the straight-line method, the depreciation rate of the straight-line method is 0.250, and the residual value is 0 yen.
When sales are 100 million yen, variable costs are 60 million yen and fixed costs are 30 million yen. Assuming that the variable cost ratio and the fixed costs do not change, what are the sales, in millions of yen, required to achieve a target profit of 18 million yen?
Which of the following is the relationship between the client company and the worker (the thick line in the figure), based on the Worker Dispatching Act?