Data Structures Algorithms-II MCQs

Page No. 115

You are given a boolean expression which consists of operators &, | and ∧ (AND, OR and XOR) and symbols T or F (true or false). You have to find the number of ways in which the symbols can be parenthesized so that the expression evaluates to true. This is the boolean parenthesization problem. Which of the following methods can be used to solve the problem?


aDynamic programming

✖


bRecursion

✖


cBrute force

✖


dDynamic programming, Recursion and Brute force

✓



What will be the ciphered text for the input string “sanfoundry” with key string as “code” to the program of keyword cipher?


aSCMBNUMERY

✓


bSSCMBNUMERY

✖


cNIFO

✖


dNILO

✖


View Answer SCMBNUMERY

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


asubstitution cipher

✖


btransposition cipher

✓


cvigenere cipher

✖


dhill cipher

✖


View Answer transposition cipher

Which of the following is a type of traditional cipher?


atransportation cipher

✖


btransposition cipher

✓


ctransforming cipher

✖


d vigenere cipher

✖


View Answer transposition cipher

What is the meaning of cipher in cryptography?


aan algorithm that performs encryption

✖


ban algorithm that generates a secret code

✖


can algorithm that performs encryption or decryption

✓


da secret code

✖



What will be the ciphered text if the string “HELLO” is given as input to the code of hill cipher with keyword as “SANFOUNDRY”?


aEZJ

✖


bJEZ

✖


cZEJ

✖


d JZE

✓


View Answer JZE

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


aaffine cipher

✖


bhill cipher

✓


ccolumnar cipher

✖


dadditive cipher

✖


View Answer hill cipher

Which cipher is represented by the following function?


avigenere cipher

✖


bhill cipher

✓


ckeyword cipher

✖


drotor cipher

✖


View Answer hill cipher

Poly alphabetic cipher harder to decipher than mono alphabetic cipher.


atrue

✓


bfalse

✖


cA & B

✖


d None of the above

✖


View Answer true

Which of the following is a type of substitution cipher?


apoly alphabetic cipher

✓


b transposition cipher

✖


ccolumnar cipher

✖


drail fence cipher

✖



Goto Page No.

Page 115 of 149

Alphabetical MCQs Categories
—

Here below You find all kind of categories of MCQs in alphabetical order.


"Comprehensive Collection of MCQs: Alphabetically Organized by Subject"
—

"Discover an extensive collection of multiple-choice questions (MCQs) neatly categorized by subject from A to Z. This resource is designed for anyone eager to explore various topics in a straightforward and organized manner. Whether you're a student preparing for exams, an educator seeking supplementary materials, or simply curious about different subjects, this compilation offers a convenient way to learn and assess your knowledge. With questions arranged alphabetically, navigation is effortless, allowing you to delve into subjects of interest at your own pace. Engage, learn, and expand your understanding with this accessible and comprehensive repository of MCQs!"


BolPakistan

bolpakistan.com.pk includes Job Mcqs and Pak Mcqs is the Top Largest Mcqs Forum in World, in which you can read Mcqs of All Subjects, PPSC test preparation, FPSC, NTS and PPSC PAST PAPERS, PPSC PAST MCQS. A Collection of Repeated MCQs for JOBs seekers.

Copyright © 2024, Designed & Developed by BolPakistan