Karinoya Learning Room

Qualifications · IT Passport Success Lab

Basic Theory

Read the questions and explanations in English. The lectures (explanatory articles) are available in Japanese only.

View the Japanese version (with lectures) →

Q1 | Binary conversion

What is the value of the binary number 1011 expressed in base-10 decimal?

  1. 13
  2. 9
  3. 11
  4. 15
AnswerC. 11

Each binary digit carries a weight of 1,2,4,8 from the right. 1011 is 8×1 + 4×0 + 2×1 + 1×1 = 11. 9 is 1001 in binary, 13 is 1101, and 15 is 1111; none of these equals 1011.

Q2 | Decimal to binary

Which of the following expresses the base-10 decimal number 45 in binary?

  1. 110101
  2. 111001
  3. 101101
  4. 101011
AnswerC. 101101

Dividing 45 by 2 repeatedly and listing the remainders from the bottom gives 1, 0, 1, 1, 0, 1; read in reverse order it is 101101. Checking: 32 + 8 + 4 + 1 = 45, which matches. 101011 is 43, 110101 is 53, and 111001 is 57; none of them equals 45.

Q3 | Hex to decimal

What is the value of the hexadecimal number 2F expressed in decimal?

  1. 43
  2. 62
  3. 47
  4. 31
AnswerC. 47

The second hexadecimal digit carries a weight of 16, and F represents 15. 2×16 + 15 = 47. 31 is 1F in hexadecimal, 43 is 2B, and 62 is 3E; none of these equals 2F. Remember that in hexadecimal, A through F represent 10 through 15.

Q4 | Binary to hex

Which of the following expresses the binary number 11010110 in base-16 hexadecimal?

  1. B6
  2. D6
  3. 6D
  4. C6
AnswerB. D6

Four binary digits correspond to one hexadecimal digit, so split 11010110 into 1101 and 0110. 1101 is 13, that is D, and 0110 is 6, giving D6. 6D is 01101101, B6 is 10110110, and C6 is 11000110; none matches the original value.

Q5 | Bit combinations

How many unsigned binary values can be represented with 8 bits?

  1. 256
  2. 16
  3. 8
  4. 128
AnswerA. 256

With n bits, 2 to the power n states can be represented, so 8 bits give 2 to the 8th = 256 values, base-10 values 0 through 255. 8 is the number of bits itself, 16 is what 4 bits give, and 128 is what 7 bits give; none is the number of combinations for 8 bits.

Q6 | Required bits

You want to represent 50 different symbols, each mapped to a distinct bit string. What is the minimum number of bits required?

  1. 8 bits
  2. 5 bits
  3. 6 bits
  4. 7 bits
AnswerC. 6 bits

With n bits, 2 to the power n values can be distinguished. 2 to the 5th = 32 is not enough for 50 kinds, while 2 to the 6th = 64 suffices, so at least 6 bits are needed. 5 bits can represent only 32 values, which falls short. 7 bits, 128 values, and 8 bits, 256 values, can also represent them but do not satisfy the minimum condition.

Q7 | Logical AND

What is the result of the logical AND of the binary numbers 10110011 and 00001111?

  1. 10111111
  2. 00000011
  3. 00001111
  4. 10110000
AnswerB. 00000011

The AND is 1 in each position only when both bits are 1. The upper 4 bits become all 0 because the other operand is 0 there, and the lower 4 bits keep 0011, giving 00000011. 00001111 is just the other operand itself, and 10111111 is the result of OR. 10110000 is the result of masking with 11110000 rather than 00001111, extracting the upper 4 bits.

Q8 | XOR

What is the result of the exclusive OR, XOR, of the binary numbers 1101 and 1011?

  1. 1111
  2. 0110
  3. 1001
  4. 0100
AnswerB. 0110

Exclusive OR is 1 in each position only when the bits differ. From the left: 1 and 1 give 0, 1 and 0 give 1, 0 and 1 give 1, and 1 and 1 give 0, so the result is 0110. 1001 is the AND and 1111 is the OR, while 0100 matches the result of none of the basic operations.

Q9 | Two's complement

Which of the following represents the base-10 decimal number −5 in 8-bit two's complement?

  1. 10000101
  2. 11111011
  3. 11111100
  4. 11111010
AnswerB. 11111011

Two's complement is formed by inverting every bit of the original number and adding 1. 5 is 00000101; inverted it becomes 11111010, and adding 1 gives 11111011. 11111010 is only the inversion, the one's complement, without the added 1. 10000101 is sign-magnitude with just a sign bit of 1 in the top position, and 11111100 represents −4.

Q10 | De Morgan

Which expression always gives the same result as NOT(A AND B)? Here NOT denotes negation, AND logical conjunction, and OR logical disjunction.

  1. A OR B
  2. NOT A AND NOT B
  3. NOT A OR NOT B
  4. A AND NOT B
AnswerC. NOT A OR NOT B

By De Morgan's law, the negation of a conjunction equals the disjunction of the negated terms. Therefore NOT(A AND B) equals NOT A OR NOT B. NOT A AND NOT B is a different expression equal to NOT(A OR B), A OR B contains no negation and gives the opposite result, and A AND NOT B negates only B and does not hold. Checking all 4 rows of a truth table confirms this.

Q11 | Set calculation

A survey of 100 employees found that 60 use system A, 45 use system B, and 25 use both A and B. How many people use neither A nor B?

  1. 15
  2. 20
  3. 10
  4. 25
AnswerB. 20

The number using at least one, subtracting the overlap once, is 60 + 45 − 25 = 80. Therefore those using neither number 100 − 80 = 20. 10 and 15 are values from mishandling the overlap, and 25 is the number using both, which is not what is asked.

Q12 | Truth table

For two inputs A and B, in which case does the exclusive OR, XOR, give 1?

  1. When the values of A and B differ
  2. When A and B are both 0
  3. When the values of A and B are equal
  4. When A and B are both 1
AnswerA. When the values of A and B differ

Exclusive OR is 1 only when the input values differ, and 0 when they are equal. When both are 1 the result is 0; giving 1 there is the AND. When both are 0 the result is also 0. Equal values describe the negation of XOR, the equivalence circuit, whose result is the reverse.

Q13 | Expected value

There are 100 lottery tickets: 1 first prize of 5000 yen, 5 second prizes of 1000 yen, and the rest losing tickets worth 0 yen. What is the expected value of the amount received when drawing one ticket?

  1. 600 yen
  2. 100 yen
  3. 150 yen
  4. 200 yen
AnswerB. 100 yen

The expected value is the sum of each amount times its probability: (5000×1 + 1000×5) ÷ 100 = 10000 ÷ 100 = 100 yen. 150 and 200 come from multiplying the prize amounts or counts incorrectly, and 600 yen comes from multiplying the winning probability 6÷100 by the total prize money of 10000 yen, an error that fails to weight each amount by its own probability.

Q14 | Probability

When two dice, one large and one small, are thrown together, what is the probability that the sum of the faces is 7?

  1. 1/12
  2. 1/6
  3. 1/8
  4. 1/9
AnswerB. 1/6

There are 6×6 = 36 possible outcomes in total. The sum is 7 in the 6 cases (1,6), (2,5), (3,4), (4,3), (5,2), and (6,1), so the probability is 6÷36 = 1/6. 1/12 would correspond to 3 cases, 1/9 to 4 cases, and 1/8 to 4.5 cases; none matches the actual number of combinations.

Q15 | Combinations

When choosing 2 representatives from 6 people, how many ways are there to choose? The order of the 2 chosen people is not distinguished.

  1. 15
  2. 36
  3. 12
  4. 30
AnswerA. 15

Choosing without regard to order is a combination: (6×5) ÷ (2×1) = 15 ways. 30 is the permutation 6×5, which counts the same pair twice. 12 is 6×2 and 36 is 6×6; both count incorrectly.

Q16 | Permutations

When arranging 4 people in a single row, how many arrangements are there?

  1. 24
  2. 12
  3. 4
  4. 16
AnswerA. 24

There are 4 choices for the first position, 3 remaining for the second, 2 for the third, and 1 for the fourth, so 4×3×2×1 = 24 arrangements. 12 is 4×3, counting only two positions. 16 is 4×4, counting the same person more than once, and 4 is just the number of people; none is the total number of arrangements.

Q17 | Median

Five people's test scores are 10, 20, 20, 30, and 120. What is the median of these 5 data points?

  1. 20
  2. 30
  3. 40
  4. 120
AnswerA. 20

The median is the middle value when the data is sorted by size. With 5 items it is the 3rd value, 20. 40 is the mean, total 200 ÷ 5, dragged upward by the extremely large value 120. 30 is the 4th value and 120 is the maximum; neither is the median.

Q18 | Standard deviation

What is the standard deviation of the data 2, 4, 4, 4, 5, 5, 7, 9? The mean of this data is 5, and the variance is computed by dividing by the number of data points.

  1. 2
  2. 4
  3. 1
  4. 8
AnswerA. 2

The squared differences from the mean are 9, 1, 1, 1, 0, 0, 4, 16, totaling 32. The variance is 32 ÷ 8 = 4, and the standard deviation is its square root, 2. 4 is the variance itself given as the answer, 8 is the number of data points, and 1 is one of the squared differences; none is the standard deviation.

Q19 | Meaning of SD

What does the standard deviation express?

  1. The value that appears most frequently in the data
  2. The degree to which the data is scattered around the mean
  3. The middle value when the data is arranged in order of size
  4. The value obtained by dividing the total of the data by the number of items
AnswerB. The degree to which the data is scattered around the mean

The standard deviation is the square root of the variance and expresses how far the data is scattered from the mean. The smaller it is, the more the data clusters near the mean. The first option is the mean, the second the median, and the fourth the mode; each of these is a single representative value and does not express the size of the spread.

Q20 | Correlation coefficient

The correlation coefficient of two data sets was computed to be −0.9. What can be said from this value?

  1. There is a strong negative correlation in which one decreases as the other increases
  2. There is almost no relationship between the two data sets
  3. It has been proven that one is the cause of the other
  4. There is a strong positive correlation in which one increases as the other increases
AnswerA. There is a strong negative correlation in which one decreases as the other increases

The correlation coefficient ranges from −1 to +1, and the closer to −1, the stronger the negative correlation in which one falls as the other rises. Almost no relationship describes values near 0, and the strong positive description fits values near +1, the opposite sign. The causation claim is wrong: strong correlation does not guarantee a cause-and-effect relationship.

Q21 | Regression analysis

Which of the following appropriately describes regression analysis?

  1. A technique that automatically divides data into groups with similar characteristics
  2. A technique that finds combinations of products often bought together from large volumes of transaction data
  3. A technique that randomly extracts a portion of a population to estimate the tendencies of the whole
  4. A technique that derives an equation for predicting the value of one variable from another, fitted to match real data well
AnswerD. A technique that derives an equation for predicting the value of one variable from another, fitted to match real data well

Regression analysis derives, by fitting to real data, an equation that obtains the value of one variable from another, as in predicting sales from advertising spend. The second option is clustering, the third is basket analysis, also called association analysis, and the fourth is sample surveying; none of these derives a prediction equation.

Q22 | Unit prefixes

How many seconds is 1 nanosecond?

  1. 10^-6 seconds
  2. 10^-12 seconds
  3. 10^-3 seconds
  4. 10^-9 seconds
AnswerD. 10^-9 seconds

Nano, written n, is the prefix representing 10 to the minus 9th power. 10^-3 is milli, m; 10^-6 is micro, μ; and 10^-12 is pico, p. On the small side the prefixes go milli, micro, nano, pico, each 1000 times smaller than the last.

Q23 | Rounding

What is the value of 37.462 when the second decimal place is rounded off?

  1. 37.4
  2. 37.5
  3. 38.0
  4. 37.46
AnswerB. 37.5

The digit in the second decimal place is 6, which is 5 or more, so 1 is carried up to the first decimal place, giving 37.5. 37.4 is the result of truncating at the second decimal place, 37.46 comes from rounding the third decimal place, and 38.0 comes from rounding the first decimal place up; none applies the specified rounding at the specified position. Note that rounding off the first decimal place would give 37.

Q24 | UTF-8

Which of the following appropriately describes UTF-8?

  1. An encoding that represents Unicode characters in a variable length of 1 to 4 bytes, with alphanumerics taking 1 byte just like ASCII
  2. A character code created in Japan for handling Japanese, representing all kanji and kana in a fixed length of 2 bytes
  3. A character code that handles only alphanumerics and symbols in 1 byte and cannot represent Japanese
  4. A file format for compressing and saving images such as photographs
AnswerA. An encoding that represents Unicode characters in a variable length of 1 to 4 bytes, with alphanumerics taking 1 byte just like ASCII

UTF-8 is an encoding that represents Unicode characters in a variable length of 1 to 4 bytes; alphanumerics take 1 byte just like ASCII, giving high compatibility, and it is the most widely used encoding on the Web. The first option is ASCII, and the third is close to a description of Japanese character codes such as Shift JIS. The fourth describes an image format, not a character code, which is something else entirely.

Q25 | ASCII

Which of the following appropriately describes the ASCII code?

  1. A character code that represents 128 kinds of characters, such as alphanumerics and symbols, in 7 bits
  2. A character code created in Japan to represent Japanese kanji and kana
  3. A method of converting analog audio into numerical data
  4. A character code system that aims to assign a common number to every character in the world
AnswerA. A character code that represents 128 kinds of characters, such as alphanumerics and symbols, in 7 bits

ASCII is the most basic character code, representing 128 kinds of alphanumerics, symbols, and control characters in 7 bits; it cannot handle Japanese. The second option describes Japanese character codes such as Shift JIS and EUC-JP, and the third describes Unicode. The fourth describes A/D conversion, digitization, which has nothing to do with character codes.

Q26 | Digitization steps

Which of the following puts the steps for converting analog audio into digital data in the correct order?

  1. Sampling, then quantization, then encoding
  2. Quantization, then sampling, then encoding
  3. Encoding, then sampling, then quantization
  4. Sampling, then encoding, then quantization
AnswerA. Sampling, then quantization, then encoding

First comes sampling, reading the height of the wave at fixed intervals; next quantization, replacing each reading with a value from a fixed set of levels; and finally encoding, turning those values into bit strings of 0s and 1s. The other options shuffle this order, and since levels cannot be assigned nor codes produced before the values are read, they are wrong.

Q27 | Sampling theorem

You want to record sound containing frequency components up to 20kHz so that the original waveform can be reconstructed based on the sampling theorem. What is the minimum sampling frequency required?

  1. 20kHz
  2. 10kHz
  3. 40kHz
  4. 30kHz
AnswerC. 40kHz

By the sampling theorem, the original waveform can be reconstructed if sampling is done at a frequency exceeding twice the highest frequency in the original signal. About 40kHz, twice 20kHz, is needed. The other three all fall short of twice the highest frequency, and the original waveform cannot be correctly reconstructed.

Q28 | Audio data size

Approximately how many bytes is the audio data recorded for 60 seconds at a sampling frequency of 44.1kHz, a quantization depth of 16 bits, in stereo with 2 channels? Assume no compression, 1kHz means 1000 times per second, and 1Mbyte is 10^6 bytes.

  1. About 5.3Mbytes
  2. About 21.2Mbytes
  3. About 2.6Mbytes
  4. About 10.6Mbytes
AnswerD. About 10.6Mbytes

44100×16×2×60 = 84,672,000 bits; dividing by 8 gives 10,584,000 bytes, about 10.6Mbytes. About 5.3M is the value calculated as monaural, about 2.6M assumes 8-bit quantization and monaural, and about 21.2M is the value calculated with 32-bit quantization.

Q29 | Image data size

Approximately how many bytes is an uncompressed image of 640 pixels across and 480 pixels down, in full color at 24 bits per pixel? Assume 1Kbyte is 1000 bytes and 1Mbyte is 10^6 bytes.

  1. About 38Kbytes
  2. About 922Kbytes
  3. About 307Kbytes
  4. About 7.4Mbytes
AnswerB. About 922Kbytes

24 bits is 3 bytes, so 640×480×3 = 921,600 bytes, about 922Kbytes. About 7.4M is the bit count answered without converting to bytes, about 307K assumes 8 bits, 1 byte, per pixel, and about 38K assumes 1 bit per pixel; none matches the given conditions.

Q30 | Transfer time

1Gbyte of data is transferred over a line with a transmission speed of 100Mbits per second. When the transmission efficiency is 50%, how many seconds does the transfer take? Assume 1Gbyte is 10^9 bytes and 1Mbit per second is 10^6 bits per second.

  1. 160 seconds
  2. 320 seconds
  3. 640 seconds
  4. 80 seconds
AnswerA. 160 seconds

1Gbyte is 8×10^9 bits. With 50% transmission efficiency the effective speed is 50×10^6 bits per second, so 8×10^9 ÷ (50×10^6) = 160 seconds. 80 seconds ignores efficiency and assumes 100%, while 320 and 640 stack up errors in the byte-to-bit conversion and the handling of efficiency.

Q31 | Supervised learning

Which of the following appropriately describes supervised learning in machine learning?

  1. Giving rewards for the results of actions and having the model acquire, by trial and error, the actions that maximize the reward
  2. Giving no answers and having the model find hidden structure and clusters of similar items in the data
  3. Having humans write out all the decision rules and running the system exactly as written
  4. Giving large numbers of pairs of input data and correct labels so that the model learns to predict the answer from the input
AnswerD. Giving large numbers of pairs of input data and correct labels so that the model learns to predict the answer from the input

Supervised learning learns the relationship between inputs and answers from labeled data so that predictions can be made for unseen inputs. The second option describes unsupervised learning and the third reinforcement learning. The fourth is a hand-written rule-based approach, which does not count as machine learning from data.

Q32 | Unsupervised learning

Which of the following is an appropriate application of unsupervised learning?

  1. Acquiring, through repeated trial and error, the moves that score high in a game
  2. Grouping customers with similar buying tendencies based on purchase histories
  3. Predicting tomorrow's sales amount from past records of temperature and sales
  4. Judging whether a newly arrived e-mail is spam using past judgment results
AnswerB. Grouping customers with similar buying tendencies based on purchase histories

Unsupervised learning finds structure and clusters in data without being given answers, and grouping customers, clustering, is a representative example. The first and second options are supervised learning, which learns from labeled data, and the third is reinforcement learning, which learns actions from rewards; none is unsupervised learning.

Q33 | Reinforcement learning

Which of the following appropriately describes reinforcement learning?

  1. Automatically grouping data by similar characteristics without being given correct labels
  2. Manually correcting errors in the training data to raise data quality
  3. Learning how to choose actions, through trial and error, so that the rewards given for the results of actions are maximized
  4. Learning the correspondence between inputs and outputs from large volumes of labeled data
AnswerC. Learning how to choose actions, through trial and error, so that the rewards given for the results of actions are maximized

Reinforcement learning learns, by trial and error, how to choose actions so that total reward is maximized, based on the rewards received for actions taken in a given state; it is used in Go-playing AI and robot control. The first option is supervised learning and the third unsupervised learning. The fourth is data preprocessing work, not a category of learning method.

Q34 | Deep learning

Which of the following appropriately describes deep learning?

  1. A technique of using spreadsheet functions and charts to tally large amounts of data by hand and read off trends
  2. A technique of deriving conclusions by applying, in order, conditions and rules that humans decided in advance
  3. A technique that stacks many intermediate layers in a neural network and automatically extracts features from large amounts of data
  4. A technique of encrypting data so it can be exchanged safely without being read by third parties
AnswerC. A technique that stacks many intermediate layers in a neural network and automatically extracts features from large amounts of data

Deep learning is a method that deeply stacks the intermediate layers of a neural network, which mimics the connections of neurons in the brain, and can automatically extract the features worth attending to from data without humans specifying them. The first option is spreadsheet analysis, the second rule-based inference, and the fourth encryption technology; none of these is deep learning.

Q35 | Overfitting

Which of the following appropriately describes overfitting in machine learning?

  1. A state in which the computation required for training is so large that processing never finishes
  2. The phenomenon in which a model fits the training data too closely, and as a result its accuracy on unseen data drops
  3. A state in which there is too little training data for learning to start at all
  4. Reusing a trained model for a different task and training it with little data
AnswerB. The phenomenon in which a model fits the training data too closely, and as a result its accuracy on unseen data drops

Overfitting is the phenomenon of memorizing even the fine details of the training data, giving high accuracy on the training data but degraded accuracy on unseen data. The second option is a data shortage problem, the third describes transfer learning, and the fourth is a computing resource problem; none refers to excessive fitting to the training data.

Q36 | Train/test split

In machine learning, what is the main purpose of splitting the available data into training data and test data?

  1. To protect the personal information contained in the data
  2. To automatically find and correct errors and variability in the training data
  3. To evaluate performance on unseen data using data that was not used for training
  4. To shorten the computation time needed for training
AnswerC. To evaluate performance on unseen data using data that was not used for training

If accuracy is measured on the data used for training, a high score can result from mere memorization of that data. Evaluating on test data not used in training measures true capability on unseen data. Speed is not the main purpose of splitting, privacy protection is handled by other measures such as anonymization, and error correction is not something the split accomplishes.

Q37 | Identifying the method

A model was trained on a large number of previously received e-mails labeled as spam or normal mail, and it judges which category a newly arrived e-mail belongs to. Which learning method is this?

  1. Supervised learning
  2. Unsupervised learning
  3. Reinforcement learning
  4. Deep reinforcement learning
AnswerA. Supervised learning

Since the training uses data with the answers, the labels, attached in advance, this is supervised learning, and since the output is a category, it is classification. Unsupervised learning gives no answers, and reinforcement learning learns actions from rewards. Deep reinforcement learning combines reinforcement learning with neural networks and does not fit this problem, which uses correct labels.

Q38 | Iteration

When the following processing is executed, what is the final value of the variable x? First, assign 1 to the variable x. Then repeat 3 times the operation of assigning to x twice its current value.

  1. 6
  2. 2
  3. 4
  4. 8
AnswerD. 8

x starts at 1 and becomes 2 after the first iteration, 4 after the second, and 8 after the third, so the answer is 8. 2 is the value after only the first iteration and 4 after only the second. 6 is the result of adding 2 three times, not of repeated doubling.

Q39 | Binary search

A binary search is used to find a target item among 1000 data items sorted in ascending order in advance. At most how many comparisons are needed?

  1. 10
  2. 500
  3. 9
  4. 7
AnswerA. 10

Each comparison in a binary search halves the candidates. 2 to the 9th is 512, not enough for 1000 items, while 2 to the 10th is 1024, exceeding 1000, so the target can be found in at most 10 comparisons. 500 is close to the average comparison count of a linear search, and 7 and 9 provide too few halvings.

Q40 | Linear search

When linearly searching n data items, assuming the target item is always present exactly once and is equally likely to be at any position, what is the average number of comparisons?

  1. n
  2. (n+1)÷2
  3. log2 n
  4. n÷4
AnswerB. (n+1)÷2

The cases of finding it on the 1st comparison through the nth are equally likely, so the average is (1+2+…+n)÷n = (n+1)÷2. n is the worst-case comparison count, and log2 n is the rough comparison count of a binary search. n÷4 is a value with no basis.

Q41 | Bubble sort

An array's elements are lined up from the front as 3, 1, 4, 1, 5. One pass is made comparing adjacent pairs from the front and swapping them when the left is greater than the right. What is the array immediately after this single pass?

  1. 3, 1, 1, 4, 5
  2. 1, 3, 4, 1, 5
  3. 1, 3, 1, 4, 5
  4. 1, 1, 3, 4, 5
AnswerC. 1, 3, 1, 4, 5

Comparing 3 and 1 and swapping gives 1,3,4,1,5; 3 and 4 stay; swapping 4 and 1 gives 1,3,1,4,5; and 4 and 5 stay. The fully sorted state cannot be reached in one pass. The fourth option is the intermediate state after only the first swap, and the third is the arrangement that would result if the pass proceeded without swapping the leading 3 and 1.

Q42 | Stack

Onto an empty stack, 1, 2, and 3 are pushed in this order; then one pop is performed, then 4 is pushed, and then two pops are performed. Which lists the popped values in the order they were taken out?

  1. 3, 4, 2
  2. 1, 4, 2
  3. 1, 2, 3
  4. 3, 2, 4
AnswerA. 3, 4, 2

A stack is last in, first out, so the first pop yields 3, the last value pushed. Pushing 4 and popping yields 4, and the next pop yields 2, giving 3, 4, 2. The first option is close to the order for a first-in, first-out queue, and the other two mix up the order of removal.

Q43 | Linked list

Which of the following is an appropriate characteristic of a list structure?

  1. The data stored last is taken out first
  2. Each element holds the location of the next element, so insertions and deletions in the middle can be done without moving elements
  3. The data stored first is taken out first
  4. Elements are lined up in a contiguous area and can be read and written directly by specifying a position number from the front
AnswerB. Each element holds the location of the next element, so insertions and deletions in the middle can be done without moving elements

A list is a structure in which each element holds the location of the next element, a pointer, so insertion and deletion in the middle require only relinking the pointers. The second option describes an array, the third a stack, last in first out, and the fourth a queue, first in first out; none is a characteristic of the list structure.

Q44 | Data formats

Which lightweight data description format writes pairs of item names and values enclosed in curly braces, can express nested structures, and is widely used for data exchange in Web applications?

  1. JSON
  2. CSV
  3. XML
  4. HTML
AnswerA. JSON

JSON is a lightweight data description format that expresses pairs of item names and values enclosed in curly braces and is widely used for data exchange on the Web. CSV is a tabular format separating values with commas, XML is a markup language expressing the meaning and structure of data with custom tags, and HTML is the markup language describing the structure of Web pages.

Q45 | Programming languages

Which programming language is widely used in the fields of statistical analysis and data analysis and is also rich in graph-plotting functionality?

  1. XML
  2. R
  3. HTML
  4. SQL
AnswerB. R

R is a programming language specialized for statistical analysis and data analysis, with abundant statistical methods and graph-plotting features. HTML is a markup language for describing the structure of Web pages, SQL is a query language for operating databases, and XML is a markup language expressing the meaning and structure of data; none of these is a programming language for statistical analysis.

Practice: answer the questions on this page

This practice tool asks questions in random order (it works when JavaScript is enabled). You can still read all the questions and explanations above without it.

* The explanations are information for study purposes. Exam scope and systems change from year to year, so always check the official announcements of the organization that administers the exam.

This page is a translation of the Japanese original. If the translation and the original differ, the Japanese version takes precedence. View the Japanese original