Você está na página 1de 24

AMDOCS OFF CAMPUS –ONLINE TEST

This test is basically divided into six sections:

Sections Topic Number of questions


1. Logical questions 11
2. Verbal reasoning 8
3. LINUX 10
4. SQL 10
5. C 7
6. C++ 5+1(code)
TOTAL 6 Topics 52
SECTION-01 LOGICAL QUESTIONS

1. Sales for a business were 6 million dollars more the second year than the first, and
sales for the third year were double the sales for the second year. If sales for the third
year were 76 million dollars, what were sales, in millions of dollars, for the first
year?
a) 38
b) 32
c) 26
d) None of the above
2. A car average 12 kilometers per liter.If gas cost $2.22 per liter,then how much gas
cost for this car to travel 1335 km?
a) 230$
b) 240$
c) 250$
d) 260$
3.

a) 80
b) 91
c) 79
d) 86
4. A person runs 600 meters in 5 minutes. what is his speed in km per hour?
a) 6.4
b) 8.4
c) 7.2
d) 5.1
5. The area of a circle is 64pi.what is the diameter of the circle?
a) 32
b) 16
c) 8
d) None of the above
6. From a pack of 52 cards, two cards are drawn together, what is the probability that
both the cards being queens?(assume that there are 4 queen cards)

a) 2/445 b)1/221 c)2/52 d)None of the above


7. What is the value of X when
-7X-8=-13X+40
a) 6 b) 16 c) 7 d) 8
8. Which number should replace the question mark?
9 4 23
75 67 17
32 28 31
15 ? 19
a) 3 b) 5 c) 6 d) 11
9. Choose the figure which will continue the series

a) A b) B c) C d) D
10. What are the missing numbers in the table?
2 3 5
5 7 12
11 13 24
? ? 36
a) 20,16
b) 17,19
c) 15,21
d) 1,35
11. What will be the value of the square?

a) 24 b) 23 c) 29 d) None of the above


SECTION-02 VERBAL REASONING

Answer the questions(Q.12 to Q.15) based on the following short passage:


12. When was punctuation first invented?
a) So playwrights could tell actors when to pause
b) So the Romans could take over the western world
c) So medieval scribes could more easily separate the text of their bibles
13. What device,aside from punctuation, did the medieval scribes use to separate their
texts into readable tidbits?
a) Page margins
b) Chapter titles
c) Capitalization
d) Movable type
14. Why is it difficult to introduce new types of punctuation marks to any language?

15. Which invention influenced the growth of punctuation the most?


a) The web
b) Desktop publishing
c) The printing press
d) The latin alphabet
Answer the questions(Q.16 to Q.19) based on the following short passage:
16. What is the main point of “Interrobang”?
a) Tell the history of typography.
b) Give a biography of martin k.speckter
c) Give an introduction of the interrobang as a punctuation mark
d) All of the above
17. How long did the interrobang’s fame first?
a) The interrobang is coming back
b) It lasted about a decade
c) It lasted as long as other punctuation marks have.
d) It never did attain much fame.
18. Who invented the term “interrobang”?
a) Martin k.speckter
b) A printer
c) A typographer
d) A magazine’s reader
19. The name interrobang was a melding of what kinds of terms?
SECTION-03 LINUX

20. When you want the system to execute a command, you almost never have to give full
path to that command. How can it be achieved?
a) PATH environment variable take care of this
b) The SYSTEM_ PATH environment variable take care of this
c) The commands which declared under /usr/bin don’t need to use full path
d) This is not correct,you do not have to specify the full path unless you are located
under the command directory
21. Which command wil you choose to copy all files and sun-directories?
a) cp
b) mv
c) cp-R
d) cp-A
22. What will happen when running the following command?
mkdir Dir A/Dir B/Dir C
a) All the directories will be created with the requsted hierarchy
b) Only the first directory Dir A will be created
c) mkdir will fail to create the directories
d) None of the above
23. How can you check the amount of lines in a file?
a) Lines-f file_ name
b) Cat file_name|grep file
c) Wc-l file_name
d) More file_name|grep file
24. What happens when you create a hard link to a text file,and then you delete a text
file?
a) The hard link will also be deleted
b) The hard link will exist although it will point to an emty file
c) The hard link will exist, and you will be able to read the content of the text file
d) The hard link will be undefined
25. In shell scripting,which of the following is used at the end of a line to indicate
continuation on to the next line?
a) #
b) \
c) \n
d) ;
26.

a) This script has 28 iterations


b) This script has 21 iterations
c) This script has 4 iterations
d) This script has 0 iterations
27.
Options:
a)A b)B c) C d)D e)E

28.
29.

echo “$REPLY”

a) lukluk@gmail.com
b) Luk
c) luk@gmail.com
d) No output
e) The script will throw an error
SECTION-04 SQL

30.

a) SELECT customer_id_name
FROM customers
WHERE country_code IN(‘DE’,’AT’)
b) SELECT customer_id_name
FROM customers
WHERE country_code =’DE’
c) SELECT customer_id_name
FROM customers
WHERE country_code =’DE’
AND country_code=’AT’
d) SELECT customer_id_name
FROM customers
ANY country_code IN(‘DE’,’AT’)
31.

a) SELECT order_no
FROM orders
WHERE amount > 1000 AND amount < 5000
b) SELECT order_no
FROM orders
WHERE amount > =1000 OR amount < =5000
c) SELECT order_no
FROM orders
WHERE amount > 1000 OR amount < 5000
d) SELECT order_no
FROM orders
WHERE amount > =1000 AND amount < =5000
32.

a)

b)

c)

33. How will you return the number o records in “orders” table?
a) SELECT COUNT()FROM orders
b) SELECT SUM(*) FROM orders
c) SELECT COUNT(*) FROM orders
d) SELECT SIZE() FROM orders
34.

a) INSERT INTO customers (customer _id, name, country code)


VALUE (‘New Customer’,’DE’,100)
b) INSERT INTO customers (name, country code)
VALUE (100,’ New Customer’, ’DE’)
c) INSERT INTO customers (customer _id, name, country code)
VALUE (100,’ New Customer’, ’DE’)
d) INSERT INTO customers (customer _id, name, country code)
(100,’ New Customer’, ’DE’)

35. Which statement selects all orders, sorted down (from high to low) according to order
number?
a) Select * from orders sort by order_Number desc
b) Select * from orders order order_Number desc
c) Select * from orders order by order_Number desc
36.

Options:
37. How will you delete records where “Customer_Name” is “David” in orders table?
a) DELETE where customer_Name=’David’ from orders
b) DELETE * FROM orders where customer_Name=’David’
c) DELETE FROM orders where customer_Name=’David’
d) DELETE where customer_Name like ’David’ from orders
38.

39. Which of the following statements will only return different customer_name values
from table orders?
a) Select unique(Customer_Name)from Orders
b) Select distinct(Customer_Name)from Orders
c) Select diff(Customer_Name)from Orders
SECTION-05 C programs
40.

a) B
b) B
C
D
E
c) B
B
D
E

41.
a) -128
b) 0
c) 128
d) None of the above
42.

a) 15
b) Compiler error
c) Undefined

43.
a) 3
2
1
b) 3
2
3
c) 0
d) Undefined
e) 1
2
3
44.

a) Garbage value
5
200
-20
b) 5
Garbage value
200
-20
c) 5
7
200
-20
d) 5
20
200
-20
45.

return 0;

a) a=30,b=25
b) b=30,a=25
c) a=0,b=0
46.

a) 20
20
20
b) Compiler error
c) 20
40
40
d) 20
40
20
SECTION-06 C++ programs

47.

a) For(int i=3;i*i<=n;i+=2)
b) For(int i=3;i<n;i++)
c) For(int i=3;i*2<n;i++)
48.
49.
Options:
a) 0

b) 60

c) 90
d) 140

50.

a) hello world
b) world hello
c) dlrow olleh
d) hello worl
51.

Options:

a) Foo=start*2;
b) Foo=(start+end)/2;
c) Foo=(end-foo)/2;
d) Foo=(end+start)/2;
52.

Você também pode gostar