Data and Information Quiz

#1 What is the function of a compiler?

#2 Which of the following evaluates to 1 and not 1.0?

#3 In the following code segment, a , b, c, d are Boolean operators. Where a = False, b = False, c = True and d = ?. The output of the following expression results in True. What could be the value of d?

#4 Give a flow chart of Boolean operators.

#5 If both the if conditions were “false”, then what would be the result? Consider the text in rectangular boxes as print statements.

#6 In an encrypting technique, alphabets a-z are written as follows: (a as c, b as d, c as e, d as f and so on ) If the word “computer” is encrypted as “eqorwvgt”, how can we encrypt the word “internet”?

#7 As part of an encryption technique, all the alphabets (a-z) are replaced by their respective left most neighbor alphabet to convert plain texts into cipher texts like: y with x, z with y, a with z, b with a…………………x with w. For a six letter word, if the cipher text is “rdbqds”, what is the original word(plain text)?

finish

Results