0% found this document useful (0 votes)
16 views3 pages

Mock Test QA & ANS

Jtyk. Ykkxuc ts
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views3 pages

Mock Test QA & ANS

Jtyk. Ykkxuc ts
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Lakshya Institute of Technology, Bhubaneswar

PPT MOCK TEST 04 (E & T)

ENGLISH :-
Find the error Q13-A man who speaks less in the forum
Q1- Peter and Andrea walked (1) besides each ans-reticent
other (2) in complete (3) silence. (4) No Error
(5) Q14- A country that is ruled by a king or queen
Ans-2 ans-monarchy

Q2- Maria brought the chocolates (1) and Q15-The practice of having several wives
distributed them (2) between her (3) four ans-polygamy
children. (4) No error (5)
Ans-3 Solved Change of Voice
Q16-Her selection in the crew surprised Peter.
Q3-The fish is (1) the favorite food (2) of (3)
the Bengalis. (4) No error (5) A. Her selection in the crew was a big surprise.
Ans-1 B. Peter was surprised at her selection in the
crew.
Q4- She has been (1) promoted to the (2) rank C. Her selection was a surprise.
of (3) the D.I.G. (4) No error (5) D. Peter was surprised at her selection of the
Ans-4 crew.

Q5- It was (1) by a mistake (2) that Peter (3) Ans- Peter was surprised at her selection in the
broke (4) the glass window. (5) No error crew.
Ans-b
17-The student committed the mistake.
Selecting Words A.The mistake has committed by the student.
Q6- She lived ____________ the expectations. B. The mistake had been committed by the
Ans-up to student.
C. The mistake was committed by the student.
Q7- The Himalayas are located __________ the D. The mistake is committed by the student.
northern frontier of India. Ans-The mistake was committed by the
Ans-along student.

Q8. The release of the book was planned to __


with the writer's fiftieth birthday.
Ans-coincide Q18-The best coach has trained the team.
A. The team was trained by the best coach.
9-She is sitting ________________ a big stone. B. The best coach has provided the training to
Ans -on the team.
C. The team had trained by the best coach.
10-She allowed her children too much __. D. The team has been trained by the best coach.
Ans -latitude
One Word Substitutes Ans-The team has been trained by the best
Q11-A person who travels on foot. coach.
Ans- pedestrian
Q19-The Clean India campaign is being run by
Q12- A man who always thinks of himself the government.
Ans-Egoist
ans-The government is running the Clean India
campaign. 9. The updated MySQL extension released with
PHP 5 is typically referred to as..
Q20-The students must listen to their teachers. a) MySQL b) mysql c) mysqli d) mysqly
ans-The teachers must be listened to by the Ans. C
students.
10. Which function returns an array consisting
PHP:- of associative key/value pairs?
1. Which function return last element of array? a) count() b) array_count()
A.push() B.pop() C.stack() D.None c) array_count_values() d) count_values()
Ans. B Ans.C

2. Which function add new element at end of 11. PHP arrays are also called as
array? A.push() B.pop() C.stack() D.None A. Vector arrays B. Perl arrays
Ans. A C. Hashes D. All of them
Ans.C
3. Which function is use to check weather
variable is array or not? 12. Which of the following is a PHP resource?
A.on_array() B.is_array() C.the_array() D.None a. Domxml document b. Odbc link c. File d. All
Ans. B of the above
Ans: d
4. When you use the $_POST variable to collect
data, the data is visible to.. 13. What will be the output of following code?
a) none b) only you c) everyone d) selected $a = 10; echo ‘Value of a = $a’;
few a. Value of a = 10
Ans Ans. B b. Value of a = $a
c. Undefined
5. ) When you use the $_GET variable to collect d. Syntax Error
data, the data is visible to.. Ans: a
a) none b) only you c) everyone d) selected few
Ans.C 14. Which of the following is correct with
regard to echo and print?
6. Which two predefined variables are used to a. echo is a construct and print is a function
retrieve information from forms? b. echo is a function and print is a construct
a) $GET & $SET b) $_GET & $_SET c) $__GET & c. Both are functions
$__SET d) GET & SET d. Both are constructs
Ans: d
Ans. B
7. Which of the methods are used to manage 15. The following php variables are declared:
result sets using both associative and indexed
arrays? $company = ‘ABS Ltd’;
a) get_array() and get_row() $$company = ‘,Sydney’;
b) get_array() and get_column()
c) fetch_array() and fetch_row() Which of the following is not a correct way of
d) fetch_array() and fetch_column() printing ‘ABS Ltd,Sydney’?
Ans. C
a. echo ‘$company $$company’;
8. )Which one of the following statements can b. echo ‘$company ${$company}’;
be used to select the database? c. echo ‘$company ${‘ABS Ltd’}’;
a) $mysqli=select_db(‘databasename’); d. echo ‘$company {$$company}’;
b) mysqli=select_db(‘databasename’); Ans: a
c) mysqli->select_db(‘databasename’);
d) $mysqli->select_db(‘databasename’);
Ans.D
16. What will be the output of the following
code?

$Rent = 250;
function Expenses($Other)
{ $Rent = 250 + $Other;
return $Rent;
}
Expenses(50);
echo $Rent;

a. 300
b. 250
c. 200
d. Program will not compile

Ans: b

You might also like