[Link].
35 Method signature and method return type both are same in:
• (B) Method Overriding
Q. No.36 Which of the following are not valid signature for main() method entry
point of an application? (Choose two)
• (B) public void main(String[] args)
• (D) private static void main()
[Link].37 Which of the following are valid ways to assign the value of 5 to a
variable of type "int" called testValue? (Choose all correct options)
• (A) int testValue = 0x5;
• (E) int testValue = 05;
• (D) int testValue = 0b101;
[Link].38 Write down the value stored in variable 'b':
• byte b;
• double d=516.786D;
• b = (byte) d;
• Correct Answer: (C) 4
[Link].39 Choose all possible correct statements related to method overloading:
• (A) Overloaded methods are in the same class.
• (B) Method overloading never depends upon return type.
• (D) Type and number of parameters are different.
[Link].40 The domain name system translates internet domain and host names to
IP address.
• (A) domain name system
[Link].41 The ASCII encoding of binary data is called
• (A) base 64 encoding
[Link].42 Which one of the following is not an application layer protocol?
• (A) Media gateway protocol
[Link].43 When displaying a web page, the application layer uses the
• (A) HTTP protocol
[Link].44 Connection establishment in TCP is done by which mechanism?
• (B) Three-Way Handshaking
[Link].45 DHCP is used for
• (C) Both IPv6 and IPv4
[Link].46 Resource Allocation Graph is used for deadlock
• (A) Avoidance
[Link].47 Traffic in a VPN is NOT
• (C) Accessible from unauthorized public networks
[Link].48 The client in socket programming must know
• (B) Both IP address of Server & Port number
Here are the questions with their correct answers:
[Link].49 What does the [Link] class represent?
• (C) Protocol IP Address
[Link].50 Which classes are used for connection-less socket programming?
• (A) Datagram Socket
• (B) Datagram Packet
• Correct Answer: Both A & B
[Link].51 In computers, computation is carried out with physical quantities such
as
• (A) Analog
[Link].52 Which of the following is a Computer Graphics type?
• (A) Raster and Vector
[Link].53 Which of the following plane is used for 2D transformations?
• (B) Two-dimensional plane
[Link].54 Who is the first user of computer graphics?
• (A) William Fetter
[Link].55 Which of the following is the purpose for using clipping in computer
graphics?
• (C) Adding graphics
• Correct Answer: Removing objects and lines
[Link].56 Which of the following is a primary output device of a graphics system?
• (A) Video monitor
[Link].57 Which of the following representation represents a three-dimensional
object?
• (D) Polygon
[Link].58 Which of the following clipping process handles the clipping of strings?
• (A) Text Clipping
[Link].59 The color code "000" is for
• (B) Black
[Link].60 Simplest approach where operating system runs as a single program in
kernel mode is called
• (C) Monolithic kernel
[Link].61 Which of the following is not a state associated with process?
• (D) Cloud
[Link].62 Simplest memory management can hold how many programs at a
certain time
• (A) 1
[Link].63 Which is not a memory management technique
• (A) Direct Memory Access
[Link].64 Which component holds the address of the next instruction to be fetched
during processing
• (A) Program Counter
[Link].65 The situation of allowing multiple threads in the same process is called
• (B) Multi-threading
[Link].66 A situation in which two or more processes are unable to proceed
because each is waiting for one of the others to do something is called
• (A) Deadlock
[Link].67 Which of the following condition is necessary for a deadlock to occur?
• (A) Mutual Exclusion
• (B) Hold and Wait
• (C) No Preemption
• (D) Circular Wait
• Correct Answer: All of these
[Link].68 Process scheduling occurs when
• (A) A process is created
• (B) A process is blocked
• (C) A process is completed
• Correct Answer: All of these
[Link].69 Which of the following is/are scheduling algorithms of OS?
• (A) FIFO
• (B) Round Robin
• (D) Shortest Job
• Correct Answer: All of these
[Link].70 Which of the following is a proposition?
• (C) 2=5
[Link].71 Find the conjunction of the propositions p and q where p is the
proposition "Today is Friday" and q is the proposition "It is raining today"
• (A) Today is Friday and it is a rainy day
[Link].72 Let p be the statement "Maria learns discrete mathematics" and q the
statement "Maria will find a good job." Then the conditional statement, If Maria
learns discrete mathematics, then she will find a good job is represented as
• (A) p -> q
[Link].73 The proposition q -> p is called the
• (B) Converse of p -> q
[Link].74 When two compound propositions always have the same truth value we
call them
• (C) Equivalent
[Link].75 In Boolean searches, the connective AND is used to match records that
contain
• (B) Both of two search terms
[Link].76 A compound proposition that is always true, no matter what the truth
values of the propositions that occur in it is called
• (A) Tautology
[Link].77 A compound proposition that is always false is called
• (B) Contradiction
[Link].78 A compound proposition that is neither a tautology nor a contradiction
is called
• (C) Contingency
[Link].79 Let Q(x, y) denote the statement "x = y + 3." What is the truth value of
the propositions Q(1, 2)
• (A) False
[Link].80 Choose the name of the machine that generates the output at the end of
transition.
• (D) Moore
[Link].81 Palindrome Language is an example of
• (B) Non-Regular Language
[Link].82 Choose the machine in which each state number of outgoing transitions
are equal to the number of alphabets.
• (A) FA
[Link].83 Context Free Language recognizer is:
• (B) PDA
[Link].84 In Chomsky Normal Form each production rules format:
• (A) Two Non-Terminal or one Terminal on RHS
[Link].85 Grammar without common prefix in any of different productions from
same LHS (Non-terminal in CFG)
• (A) Deterministic Grammar
[Link].86 PDA + Stack is a machine.
• (C) Turing Machine
[Link].87 Choose the name of machine in which transition is labelled with regular
expression.
• (D) TG
[Link].88 Choose the least powerful parser:
• (B) SLR (1)
[Link].89 In terms of line, which of the following means fixed point scaling
• (A) Both ends of the line remain same even after scaling
[Link].90 What should be sequence of transactions that are required to perform
rotation of an object around an arbitrary point?
• (B) Translation, Rotation, Inverse Translation
[Link].91 By (B) Inference we mean a sequence of statements that end with a
conclusion
[Link].92 A (B) Inference is a valid argument that establishes the truth of a
theorem
[Link].93 An ordered collection of objects is called
• (A) Set
[Link].94 A set of all subsets of a set is called
• (D) Power set
[Link].95 Which of the architecture is power efficient.
• (A) RISC
[Link].96 To reduce the memory access time we generally make use of
• (D) Cache's
[Link].97 Both the CISC and RISC architectures have been developed to
• (C) Reduce the semantic gap
[Link].98 The memory devices which are similar to EEPROM but differ in the
cost effectiveness is
• (D) Flash memory
[Link].99 The drawback of building a large memory with DRAM is
• (A) The Slow speed of operation
[Link].100 While using the direct mapping technique, in a 16 bit system the
higher order bits are used for
• (C) Tag