Explore topic-wise MCQs in Data Structures and Algorithms.

This section includes 32 Mcqs, each offering curated multiple-choice questions to sharpen your Data Structures and Algorithms knowledge and support exam preparation. Choose a topic below to get started.

1.

Morse Code is named after which scientist?

A. Samuel F. B. Morse
B. Karl Morse
C. Judea Pearl
D. Daniel C. Morse
Answer» B. Karl Morse
2.

Poly alphabetic cipher harder to decipher than mono alphabetic cipher.

A. true
B. false
Answer» B. false
3.

Vigenere cipher is an example of ______________

A. mono-alphabetic cipher
B. poly-alphabetic cipher
C. transposition cipher
D. additive cipher
Answer» C. transposition cipher
4.

Which of the following ciphers are created by shuffling the letters of a word?

A. substitution cipher
B. transposition cipher
C. vigenere cipher
D. hill cipher
Answer» C. vigenere cipher
5.

Which of the following is a type of substitution cipher?

A. Mono alphabetic cipher
B. transposition cipher
C. transportation cipher
D. transforming cipher
Answer» B. transposition cipher
6.

In which of the following cipher the plain text and the ciphered text does not have same number of letters?

A. keyword cipher
B. vigenere cipher
C. transposition cipher
D. additive cipher
Answer» C. transposition cipher
7.

Which of the following is not a type of mono alphabetic cipher?

A. additive cipher
B. multiplicative cipher
C. afffine cipher
D. hill cipher
Answer» E.
8.

Which of the following is not a type of poly alphabetic cipher?

A. Auto key cipher
B. Hill cipher
C. Playfair cipher
D. Additive cipher
Answer» E.
9.

What will be the plain text corresponding to cipher text 'PROTO' if vigenere cipher is used with keyword as 'HELLO'?

A. SANFOUNDRY
B. WORLD
C. INDIA
D. AMERICA
Answer» D. AMERICA
10.

Which of the following is a type of traditional cipher?

A. transportation cipher
B. transposition cipher
C. transforming cipher
D. vigenere cipher
Answer» C. transforming cipher
11.

Which word tells a word rate of Morse code's shorter code durations for common characters such as “e” and “t”.?

A. PARIS
B. CODEX
C. PARCOD
D. SPACE
Answer» B. CODEX
12.

What is the basic unit of time measurement in Morse code transmission?

A. Dot duration
B. Dash Duration
C. Numeric Duration
D. Space Duration
Answer» B. Dash Duration
13.

Vigenere cipher is harder to decipher than keyword cipher.

A. true
B. false
Answer» B. false
14.

The dash duration is how many times the dot duration?

A. 1
B. 2
C. 3
D. 4
Answer» D. 4
15.

Which of the following correctly defines poly alphabetic cipher?

A. a substitution based cipher which uses multiple substitution at different positions
B. a substitution based cipher which uses fixed substitution over entire message
C. a transposition based cipher which uses multiple substitution at different positions
D. a transposition based cipher which uses fixed substitution over entire message
Answer» B. a substitution based cipher which uses fixed substitution over entire message
16.

What is the length of the dot in Morse code?

A. 1 Unit
B. 7 Units
C. 5 Units
D. 3 Units
Answer» E.
17.

What is the meaning of cipher in cryptography?

A. an algorithm that performs encryption
B. an algorithm that generates a secret code
C. an algorithm that performs encryption or decryption
D. a secret code
Answer» D. a secret code
18.

Vigenere table consists of _________

A. 26 rows and 26 columns
B. 26 rows and 1 column
C. 1 row and 26 columns
D. 27 rows and 27 columns
Answer» B. 26 rows and 1 column
19.

In which of the following cipher the plain text and the ciphered text does not have a same number of letters?

A. affine cipher
B. vigenere cipher
C. columnar cipher
D. additive cipher
Answer» C. columnar cipher
20.

Encryption in Vigenere cipher is done using _________

A. vigenere formula
B. vigenere cycle
C. vigenere square
D. vigenere addition
Answer» D. vigenere addition
21.

Which of the following is used as signal duration in Morse Code?

A. Dash
B. Forward Slash
C. Apostrophe
D. Ampersand
Answer» B. Forward Slash
22.

Which of the following is a type of transposition cipher?

A. Rail Fence cipher
B. Hill cipher
C. Rotor cipher
D. One time pad
Answer» B. Hill cipher
23.

Which letter of the English alphabet has the shortest code in Morse Code?

A. A
B. C
C. B
D. E
Answer» E.
24.

The letters of a word are separated by a space of how many units?

A. 1 Unit
B. 2 Units
C. 3 Units
D. 4 Units
Answer» D. 4 Units
25.

What is meant by the single dot in Morse code?

A. A
B. C
C. B
D. E
Answer» E.
26.

Is Morse code speed measured in characters per minute (cpm)?

A. True
B. False
Answer» B. False
27.

Is Morse code speed measured in words per minute (wpm).

A. True
B. False
Answer» B. False
28.

Who is the creator of Modern International Morse Code?

A. Samuel F. B. Morse
B. Karl Morse
C. Alexander Morse
D. Friedrich Clemens Gerke
Answer» E.
29.

What is the name of special procedural signals that are used to indicate changes in communications protocol status?

A. Prosigns
B. Aldis
C. BIT
D. Asterisk
Answer» C. BIT
30.

In Morse Code, each dot or dash within a character is followed by a period of signal absence. What is the name of that signal?

A. Slash
B. Space
C. Ampersand
D. Asterisk
Answer» C. Ampersand
31.

Space signal is of how many unit?

A. 1
B. 2
C. 3
D. 4
Answer» B. 2
32.

Which word offers a word rate that is typical of 5-letter code groups?

A. PARIS
B. CODEX
C. PARCOD
D. SPACE
Answer» C. PARCOD