1.In which header file is the NULL macro defined?
A. stdio.h B. stddef.h
C. stdio.h and stddef.h D. math.h
Ans: c
2.Which bitwise operator is suitable for turning off a particular bit in a number?
A. && operator
B. & operator
C. || operator
D. ! operator ans: b
3.What does the following declaration mean? int (*ptr)[10];
A. ptr is array of pointers to 10 integers
B. ptr is an pointer to array
C. ptr is an array of 10 integers
D. ptr is a pointer to an array of 10 integers ans: d
4. Declare the following statement?
"An array of three pointers to chars".
A. char *ptr[3]; B char *ptr[3]();
C. char (*ptr[3])();
D. char **ptr[3]; ans: a
5. What do the following declaration signify? …show more content…
void *cmp();
A. cmp is a pointer to a void type.
B. cmp is a void type pointer variable.
C. cmp is a function that returns a void pointer.
D. cmp function returns nothing. ans: c
6. Which of the following correctly shows the hierarchy of arithmetic operations in C?
A. / + * -
B. * - / +
C. + - / *
D. / * + - ans: d
7. What will the function rewind() do?
A. Reposition the file pointer to a character reverse.
B. Reposition the file pointer stream to end of file.
C. Reposition the file pointer to begining of that line.
D. Reposition the file pointer to begining of file. ans: d
8. What is stderr ?
A. standard error
B. standard error types
C. standard error streams
D. standard error definitions ans: c
9. Which bitwise operator is suitable for turning on a particular bit in a number?
A. && operator
B. & operator
C. || operator
D. | operator
Ans : D
10.In which stage the following code
#include<stdio.h>
gets replaced by the contents of the file stdio.h
A. During editing
B. During linking
C. During execution
D. During preprocessing
Ans : D
NETWORKING :
1.What flavor of Network Address Translation can be used to have one IP address allow many users to connect to the global Internet?
A. NAT B. Static
C. Dynamic D. PAT ans:D 2.Which protocol does DHCP use at the Transport layer?
A. IP B. TCP
C. UDP D. ARP ans:C 3. .Which protocol is used to send a destination network unknown message back to originating hosts?
A. TCP B. ARP
C. ICMP D. BootP ans: C
4.How many collision domains are created when you segment a network with a 12-port switch?
A. 1 B. 2
C. 5 D. 12
Ans: D
5.When data is encapsulated, which is the correct order?
A. Data, frame, packet, segment, bit
B. Segment, data, packet, frame, bit
C. Data, segment, packet, frame, bit
D. Data, segment, frame, packet, bit
Ans: C
6.In which of the following technologies is the term HFC used?
A. DSL
B. PPPoE
C. Frame Relay
D. Dedicated T1
Ans: D | |
7. which memory component on a cisco router contains thw dynamic system configuration
A.RAM
B.DRAM
C.ROM
D.Both A & B
Ans : D 8.. | How long is an IPv6 address? | | A. | 32 bits | B. | 128 bytes | C. | 64 bits | D. | 128 bits | |
Ans : D
9. To back up an IOS, what command will you use? A. backup IOS disk
B. copy ios tftp
C. copy tftp flash
D. copy flash tftp
Ans : D
10. What is the main reason the OSI model was created? A. To create a layered model larger than the DoD model.
B. So application developers can change only one layer's protocols at a time.
C. So different networks could communicate.
D. So Cisco could use the model.
Ans :c
OPERATING SYSTEM
1.Virtual memory is ? A.Extremely large main memory B.Extremely large secondary memory C.An illusion of an extremely large memory D.A type of memory used in super computers
Answer = C
2. Spatial locality refers to the problem that once a location is referenced ? A.It will not be referenced again B.It will be referenced again C.A nearby location will be referenced soon D.None of Above Answer : B 3. Which of the following is an example of SPOOLED device? A.The terminal used to enter the input data for a program being executed B.The secondary memory device in a virtual memory system
C.A line printer used to print the output of number of job's D.None of above
Answer : C 4. Page fault occurs when ? A.The page in corrupted by application software B.The page is in main memory C.The page is not in main memory D.One tries to divide number by 0
Answer : C
5. Overlays is ? A.A part of Operating System B.A specific memory location C.A single contiguous memory that was used in the olden days for running large programs by swapping D.Overloading the system with many user files Answer : C
6. Determine the number of page faults when references to pages occurs in the order 1,2,4,5,2,1,2,4. Assume that the main memory can accommodate 3 pages and the main memory already has the pages 1 and 2. With page 1 having been brought earlier that page 2(Assume LRU algorithm is used) ? A.3 B.5 C.4 D.None Answer : C
7. Concurrent processed are processed that ? A.Do not overlap in time B.Overlap in time C.Are executed by processor at the same time D.None of Above Answer : B 8. The rage replacement policy that sometimes leads to more page faults when the size of the memory is increased is ? A.FIFO B.LRU C.no such policy exists D.None of Above Answer : A 9. The only transition that is initiated by the user process itself is? A.block B.dispatch C.wake up D.None of Above Answer : A 10. Working set(r,k) at an instance of time t, is a set of ? A.k future references that operating system will make B.Future references that the operating system will make in the next 'k' time units C.k references with high frequency D.Pages that have been referenced in the last k time units
Answer : D
PL/SQL
1. In this PL/SQL statement, which of the following lines will produce an error?
A. cursor CAPITALS is
B. select CITY, STATE
C. into my_city, my_state
D. from CITIES
Answer :C
2. PL/SQL raises an exception, in which TWO of the following cases:
A. When a SELECT statement returns no rows
B. When a SELECT statement returns more than one row
C. When the datatypes of SELECT clause and INTO clause do not match
D. When INTO statement is missing in the SELECT statement
Answer : A
3. In this PL/SQL statement, which of the following lines will produce an error?
A. create or replace function vat (vat_rate IN NUMBER, price IN NUMBER)
B. declare
C. l_vat NUMBER;
D. begin
Answer :B
4. Which of the following statements about an SQL statement are not correct?
A. SQL statements can be on one or more lines.
B. Keywords cannot be split across lines.
C. SQL statements are not case-sensitive, unless indicated.
D. Keywords can be abbreviated.
Answer :D
5. Suppose you have to remove a table. There are several indexes associated with this table.
A.
DROP INDEX
B. DROP INDEX
C. ALTER TABLE ....... DROP CONSTRAINT
D. DROP TABLE
Answer :D
6 . For an unconditional approach to a particular part of a complex PL/SQL block, which of the following control structures can be used?
A. If-Then-Else
B. While loop
C. GoTo
D. Decode
Answer :C
7. Select the VALID trigger type(s)?
A. AFTER statement trigger
B. INSERT row trigger
C. DELETE row trigger
D. UPDATE row trigger
Answer : A
8. For what purposes are views used? A. To hide columns only
B. To hide rows only
C. To hide complicated SQL statements only
D. All of the above are uses for SQL views.
Ans : D
9. ODBC minimum SQL grammar contains which of the following? A. INSERT, UPDATE, DELETE only
B. Stored Procedures only
C. Literals for date, time and timestamp only
D. CREATE VIEW, DROP VIEW only
Ans :A
10. A foreign key is which of the following? A. Any attribute
B. The same thing as a primary key
C. An attribute that serves as the primary key of another relation
D. An attribute that serves no purpose
Ans : c
Data Structures;
1.The postfix equivalent of the prefix * + ab - cd is ?
A. ab + cd - *
B. abcd + - *
C. ab + cd * -
d. ab + - cd
*
Ans:A
2.Sparse matrix have ?
A. many zero entries
B. many non-zero entries
C. higher dimension
D. none of above
Ans:A
3.Queue can be used to implement ?
A. recursion
B. quick sort
C. radix sort
D. depth first search
Ans: C
4. Which of the following abstract data types are NOT used by Integer Abstract Data type group?
A.Short
B. Int
C. float
D. long
Answer : 3
5.The hashString() member function is called by other member functions of the Hashtable class whenever a function needs to convert a ________________
A. a hash number key to a key
B. key to a hash number key
C. a key to an Index
D. None of these
Answer :B
5. An application iterates the hashtable by calling the ______ and ______ member functions
A. hasNext() and hasDelete()
B. hasNext() and getNextKey()
C. Both 1 and 2
D. None of these
Answer : B
6. The java.util package contains two classes that are designed to work with hashtables. They are _______ and _________..
A. Hashtable , HashMap class
B. Hashtable,List
C. Vector,List
D. Vector,Hashtable
Answer :A
7. Which of the following algorithm solves the all pair shortest path problem ?
A.Dijkstra's algorithm B.Floyd's algorithm C.Prim's algorithm D.Warshall's algorithm
Ans : B
8. Linked lists are suitable for which of the following problems ?
A.Insertion sort B.Binary search C.Radix sort D.Polynomial manipulation
Ans : B
9. A machine took 200 sec to sort 200 names, using bubble sort. In 800 sec, it can approximately sort ?
A.400 names B.800 names C.750 names D.800 names
Ans : A
10. If the sequence of operations - push(1), push(2), pop, push(1), push(2), pop, pop, pop, push(2), pop are performed on a stack, the sequence of popped out values are ?
A.2, 2, 1, 1, 2 B.2, 2, 1, 2, 2 C.2, 1, 2, 2, 1 D.2, 1, 2, 2, 2
Ans : A
MICROSOFT
1. In what year did Microsoft launch Windows 3.0
a) 1990
b) 1985
c) 1987
Answer : a
2. What is the name of the anti-spyware product released by Microsoft in 2006?
a) Microsoft Malicious Software Removal Tool
b) Microsoft Security Essentials
c) Windows Defender
Answer :c
3.What is Microsoft's NASDAQ stock symbol?
a) MSFT
b) MSTR
c) MDSO
Answer : a
4.When did MS DOS 1.0 come out?
a) 1994
b) 1981
c) 1988
Answer : b
5. Which of these software programs is not a Microsoft product?
a)SQL Server 2008
b) Visual Studio 2008
c) QuickBooks Accountant Edition 2008
Answer : c
6.What is Microsoft's current tagline?
a) "Where do you want to go today?"
b) "Your potential. Our Passion."
c) "Be what's next."
Answer :c
7.What game console was released by Microsoft?
a) Wii
b) Xbox
c) PlayStation
Answer : b
8 .Which e-mail client and personal information manager was not developed by Microsoft?
a) Mail
b) Entourage
c) Outlook
Answer : a
9.What are the four colors used in Microsoft's Windows logo?
a) red, green, blue, and orange
b) red, green, blue, and yellow
c) red, green, blue, and gray
Answer : b
10 .What was the Windows 95 marketing advertising campaign song?
a) "Here We Come"
b) "Let's Go"
c) "Start Me Up"
Answer : c