Explore topic-wise InterviewSolutions in Current Affairs.

This section includes 7 InterviewSolutions, each offering curated multiple-choice questions to sharpen your Current Affairs knowledge and support exam preparation. Choose a topic below to get started.

1.

Define control flow.

Answer»

The order in which the statements are executed may differ from the order in which they are written in the algorithm. This order of execution of statements is known as the control flow.

2.

Who was a Hungarian Mathematician?(a) G. Polya(b) John Wiley(c) Krysia Broda(d) Steve Vickers

Answer»

(a) G. Polya

3.

Write the basic building blocks of algorithms.

Answer»

1. Data 

2. Variables 

3. Control flow 

4. Functions

4.

How will be the input and output passed between an algorithm and the user ……..(a) comments(b) Assignment(c) Variable(d) Functions

Answer»

(c) Variable

5.

Define variable

Answer»

The data stored in a variable is also known as the value of the variable. We can store a value in a variable or change the value of variable, using an assignment statement.

6.

Write the Iterative control flow statement.

Answer»

In iterative control flow, a condition of the state is tested, and if the condition is true, a statement is executed. The two steps of testing the condition and executing the statement are repeated until the condition becomes false.

7.

Mention the three different types of Chameleons.

Answer»

There are three different types of chameleons:

red chameleons, green chameleons, and blue chameleons.

8.

Define State.

Answer»

The state of a process can be represented by a set of variables in an algorithm. The State at any point of execution is simply the values of the variables at that point.

9.

The goal of the algorithm is …..(a) to state the input properties(b) to state the output properties(c) to divide into functions(d) to establish the input output relation

Answer»

(d) to establish the input output relation

10.

What is Decomposition?

Answer»

We divide the main algorithm into functions. We construct each function independently of the main algorithm and other functions. Finally, we construct the main algorithm using the functions. When we use the functions, it is enough to know the specification of the function. It is not necessary to know how the function is implemented.

11.

Define Alternative control flow statement.

Answer»

In alternative control flow, a condition of the state is tested, and if the condition is true, one statement is executed; if the condition is false, an alternative statement is executed.

12.

What are the basic principles and techniques for designing Algorithms.

Answer»

1. Specification

2. Abstraction

3. Composition

4. Decomposition

13.

Which one of the following is an example of process? (a) Braid the hair (b) Adding three numbers (c) Cooking a dish (d) Walk in the Road

Answer»

(c) Cooking a dish

14.

Which one of the following have only high level details?(a) Flow chart (b) Algorithm (c) Programs (d) Pseudocode

Answer»

(b) Algorithm

15.

What is the difference between an algorithm and a program?

Answer»

Algorithm:

  • Algorithm is for human readers to understand. 
  • Knowledge of English is needed.
  • Easy to understand.

Program:

  • Program is for the computers to execute directly.
  • Knowledge of programming language is required.
  • It is difficult to understand.
16.

Which of the following is not a security element involved in E-Commerce?(a) Authenticity(b) Confidentiality(c) Fishing(d) Privacy

Answer»

Fishing is not a security element involved in E-Commerce.

17.

Which one of the following is the elementary problem solving techniques?(a) Specification (b) Abstraction (c) Composition (d) decomposition

Answer»

(d) decomposition

18.

How do we refine a statement?

Answer»

In refinement, each statement is repeatedly expanded into more detailed statements in the subsequent levels

19.

What is the other name for DDoS attacks?(a) Nature Flood(b) Network Flood(c) Cyber Flood(d) Virus Flood

Answer»

(b) Network Flood

20.

When the customer demands free reclaim or refund then it is …….(a) Friendly Fraud(b) Clean Fraud(c) Triangular Fraud(d) Unclean Fraud

Answer»

(a) Friendly Fraud

21.

The algorithm can be specified as ……….(a) monochromatize (a, b, c)(b) a = b = 0(c) C = A + B + C(d) none

Answer»

(a) monochromatize (a, b, c)

22.

In E-Commerce, when a stolen credit card is used to make a purchase it is termed as ……(a) Friendly fraud(b) Clean fraud(c) Triangulation fraud(d) Cyber squatting

Answer»

(b) Clean fraud

23.

For the given two flowcharts write the pseudo code.

Answer»

1. Enter A,B 

2. Initialise Q = 0, r = A 

3. If r > B, then do Q = Q + 1; r = r – B else r, q 

4. Exit

24.

Secure Electronic Transaction (SET) was developed in(a) 1999(b) 1996(c) 1969(d) 1997

Answer»

Secure Electronic Transaction (SET) was developed in 1996

25.

Write a short note on typopiracy?

Answer»

Typopiracy:

Typopiracy is a variant of Cyber Squatting. Some fake websites try to take advantage of users’ common typographical errors in typing a website address and direct users to a different website.

Such people try to take advantage of some popular websites to generate accidental traffic for their websites, 

e.g. www.goggle.com,www.faceblook.com

26.

Which is true about information leakage?(I) The contents of the transaction between the vendor and customer is stolen by the third party(II) The documents provided by the merchant to the customer or vice versa are illegally used by another.(a) I, II-both True(b) I, II-False(c) I-True, II-False(d) I-False, II-True

Answer»

(a) I, II-both True

27.

Which is the fake online shops offering cheapest price and collecting credit card data?(a) Friendly Fraud(b) Clean Fraud(c) Triangulation Fraud(d) Square Fraud

Answer»

(c) Triangulation Fraud

28.

The credit card information can be extracted using …….(a) malware(b) cross site scripting(c) SQL injection(d) all of these

Answer»

(d) all of these

29.

Write a Algorithm to find minimum of 2 numbers.

Answer»

1. Minimum (a,b)

2. --a,b

3. if a < b

4. result : = a

5. else

6.  result : = b

7. -- result = a ↓ b

30.

PGP was developed in the year ………(a) 1988(b) 1981(c) 1973(d) 1991

Answer»

PGP was developed in 1991

31.

Circulate the contents:Write the specification and construct an algorithm to circulate the contents of the variables A, B and C as shown below: The arrows indicate that B gets the value of A, C gets the value of B and A gets the value of C.

Answer»

Specifications:

1. circulate 

2. – – inputs: a, b, c: = A, B, C

3. – – outputs: a, b, c: = C, A, B

Algorithm:

1. circulate (a, b, c)

2. – – a, b, c: = A, B, C 

3. temp : = c

4. c : = b

5. b : = a

6. a : = temp

7. – – a, b, c: = C, A, B

32.

Write the disadvantages of flowcharts

Answer»

Disadvantages of flowcharts:

1. Flowcharts are less compact than representation of algorithms in programming language or pseudo code.

2. They obscure the basic hierarchical structure of the algorithms.

3. Alternative statements and loops are disciplined control flow structures.

33.

3-D Secure, a protocol was developed by(a) Visa(b) Master(c) Rupay(d) PayTM

Answer»

3-D Secure, a protocol was developed by Visa

34.

………… protocol is used for securing credit cards transactions via the Internet(a) Secure Electronic Transaction (SET)(b) Credit Card Verification(c) Symmetric Key Encryption(d) Public Key Encryption

Answer»

(a) Secure Electronic Transaction (SET)

35.

The stealing of online documents is called ……(a) phishing(b) virus(c) Frauds(d) information leakage

Answer»

(d) information leakage

36.

Briefly explain SSL?

Answer»

Secure Sockets Layers:

The most common Cryptographic protocol is Secure Sockets Layers (SSL). SSL is a hybrid encryption protocol for securing transactions over the Internet. The SSL standard was developed by Netscape in collaboration with MasterCard, Bank of America, MCI and Silicon Graphics.

It is based on a public key cryptography process to ensure the security of data transmission over the internet. Its principle is to establish a secure communication channel (encrypted) between a client and a server after an authentication step.

The SSL system acts as an additional layer, to ensure the security of data, located between the application layer and the transport layer in TCP.

For example, a user using an internet browser to connect to an SSL secured E-Commerce site will send encrypted data without any more necessary manipulations. Secure Sockets Layers (SSL) was renamed as Transport Layer Security (TLS) in 2001. But still it is popularly known under the name SSL. TLS differs from SSL in the generation of symmetric keys.

Today, all browsers in the market support SSL, and most of the secure communications are proceeded through this protocol. SSL works completely hidden for the user, who does not have to intervene in the protocol. The only thing the user has to do is make sure the URL starts with https:// instead of http:// where the “s” obviously means secured. It is also preceded by a green padlock.

37.

PGP was developed by ………(a) Whitfield Diffie(b) Martin E. Heilman(c) Phil Zimmermann(d) all the three

Answer»

(c) Phil Zimmermann

38.

What is meant by Decomposition?

Answer»

Decomposition is one of the elementary problem-solving techniques. An algorithm may be broken into parts, expressing only high level details. Then, each part may be refined into smaller parts, expressing finer details or each part may be abstracted as a function.

39.

Construct an iterative algorithm to compute the quotient and remainder after dividing an integer A by another integer B.

Answer»

divide (A, B)

– – inputs: A is an integer and B ≠ 0

– – Outputs: q and r such that A = q x B + r and 0 < r < B

q : = 0, A

While r ≥ B

q, r : = q + 1, r – B

40.

3D secure is adapted by ……(a) Visa (b) Master card(c) Smart card(d) Gift cards

Answer»

(b) Master card

41.

Find the pair which is wrongly matched.(a) Rectangular boxes – Statements(b) Diamond boxes – Output(c) Arrow – Control flow(d) Parallelogram – Input

Answer»

(b) Diamond boxes – Output

42.

Fill in the blanks.1. CA stands for ………2. Common digital certificate systems are ……. and ………

Answer»

1. Certification Authority

2. X.509 and PGP

43.

Fill in the blanks.1. ……… has become the critical factor and core issue in any E-business.2. …… cause harm to the computers.

Answer»

1. Security

2. Viruses

44.

A digital signature is created using(a) HSS(b) DSS(c) PKCS(d) PGP

Answer»

A digital signature is created DSS

45.

Digital certificates are issued by recognized(a) CA(b) MA(c) DA(d) DC

Answer»

Digital certificates are issued by CA

46.

When a condition statement will be executed?

Answer»

It will be executed only when the condition statement is true.

47.

Match the following:i. Statement1.  diamondii. condition2. parallelogramiii. Input, output3. special oral boxiv. Start, end4. rectangle(a) (i) -4 (ii)  – 1 (iii) – 2 (iv) – 3(b) (i) – 1 (ii) – 2 (iii) – 3 (iv) – 4(c) (i) – 4 (ii) – 2 (iii) – 1 (iv) – 3(d) (i) – 3 (ii) – 2 (iii) – 1 (iv) – 4

Answer»

(a) (i) -4 (ii)  – 1 (iii) – 2 (iv) – 3

48.

Name the 3 domains of 3D secure?

Answer»

1. The Acquirer Domain 

2. The Issuer Domain 

3. The interoperability Domain

49.

What are ethical issues? Name some?

Answer»

An Ethical issue is a problem or issue that requires a person or organization to choose between alternatives that must be evaluated as ethical) or wrong (unethical). These issues must, be addressed and resolved to have a positive influence in society.

Some of the common ethical issues are listed below:

1. Cyber crime

2. Software Piracy

3. Unauthorized Access

4. Hacking

5. Use of computers to commit fraud

6. Sabotage in the form of viruses

50.

Directing users to a different website by taking advantage of user’s common type graphical errors in typing and direct users to different website is .......(a) Cyber Squatting(b) Typopiracy(c) DDoS(d) Tampering

Answer»

(b) Typopiracy