Daily Exam Programmer 27-08-2024

Join us on Telegram


Q 1: In ASP.NET the sessions can be dumped by using
(1) Session.Dump
(2) Session.Abandon
(3) Session.Exit
(4) None of the above
Correct Answer: Session.Abandon

Q 2:

Consider the following pseudo-code:

IF((A>B AND (C>D)) THEN

A=A+1

B=B+1

ENDIF

The cyclomatic complexity of the pseudo-code is

(1) 4
(2) 3
(3) 2
(4) 5
Correct Answer: 3

Q 3: Which of the following has the smallest default maximum Physical Receive Packet size?
(1) ARCnet
(2) Ethernet
(3) Token Ring [16 Mbps]
(4) Token Ring [4Mbps]
Correct Answer: ARCnet

Q 4: Cryptanalysis is:
(1) Process of break to cipher text message to obtain plain text message
(2) Process of increase the speed
(3) Process of encrypt the data
(4) None of the above
Correct Answer: Process of break to cipher text message to obtain plain text message

Q 5: You have a network that needs 29 subnets while maximizing the number of host addresses available on each subnet. How many bits must you borrow from the host field to provide the correct subnet mask?
(1) 2
(2) 3
(3) 4
(4) 5
Correct Answer: 5

Q 6: Which of the following represents a person or place or thing about which some information is gathered?
(1) Entity
(2) Attribute
(3) Data Store
(4) Data flow
Correct Answer: Entity

Q 7: Which of the following features is related to Virtual Circuit?
(1) Connection oriented
(2) Each packet sent is routed independently of its predeccssors
(3) Successive packets may follow different routes
(4) Congestion control difficult
Correct Answer: Connection oriented

Q 8:

Consider the following statements:

  1. Anchor block contains first records of chain.
  2. Anchor records is first record of a block.

which of the above statements is/are true?

(1) 1 only
(2) 2 only
(3) Both are true
(4) Both are false
Correct Answer: Both are true

Q 9: In UNIX systems the user can change the access rights of the file to different user by using
(1) PID
(2) Chmod
(3) Head
(4) Tail
Correct Answer: Chmod

Q 10:

Which is an incorrect statement

(1) A composite primary key is a primary key consisting multiple columns
(2) If foreign key is not null, it can be a part of primary key
(3) No part of primary key can be null
(4) Foreign key must match an existing primary key value
Correct Answer: Foreign key must match an existing primary key value