Question 1 |
In a compiler, keywords of a language are recognized during
parsing of the program | |
the code generation | |
the lexical analysis of the program | |
dataflow analysis |
Question 1 Explanation:
Question 2 |
A layer-4 firewall (a device that can look at all protocol headers up to the
transport layer) CANNOT
block entire HTTP traffic during 9:00PM and 5:00AM | |
block all ICMP traffic | |
stop incoming traffic from a specific IP address but allow outgoing traffic to
the same IP address | |
block TCP traffic from a specific user on a multi-user system during 9:00PM
and 5:00AM |
Question 2 Explanation:
Question 3 |
If two fair coins are flipped and at least one of the outcomes is known to be a
head, what is the probability that both outcomes are heads?
1/3 | |
1/4 | |
1/2 | |
2/3 |
Question 3 Explanation:
Question 4 |
Consider different activities related to email.
m1: Send an email from a mail client to a mail server
m2: Download an email from mailbox server to a mail client
m3: Checking email in a web browser
Which is the application level protocol used in each activity?
m1: Send an email from a mail client to a mail server
m2: Download an email from mailbox server to a mail client
m3: Checking email in a web browser
Which is the application level protocol used in each activity?
m1:HTTP m2:SMTP m3:POP | |
m1:SMTP m2:FTP m3:HTTP | |
m1: SMTP m2: POP m3: HTTP | |
m1: POP m2: SMTP m3:IMAP |
Question 4 Explanation:
Question 5 |
A company needs to develop a strategy for software product development for
which it has a choice of two programming languages L1 and L2. The number of
lines of code (LOC) developed using L2 is estimated to be twice the LOC
developed with L1. the product will have to be maintained for five years. Various
parameters for the company are given in the table below.
Total cost of the project includes cost of development and maintenance. What is
the LOC for L1 for which the cost of the project using L1 is equal to the cost of
the project using L2?

4000 | |
5000 | |
4333 | |
4667 |
Question 5 Explanation:
There are 5 questions to complete.