Q:

Heart : Pericardium :: Brain : ?

A) Head B) Bones
C) Cranium D) Skull
 
Answer & Explanation Answer: C) Cranium

Explanation:

Second is a bony protective covering for the first. Here pericardium protects Heart and Cranium protect Brain.

 

Hence, Heart : Pericardium :: Brain : Cranium.

Report Error

View Answer Report Error Discuss

Filed Under: Analogy
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO

5 5721
Q:

What is the difference between $argv and $argc? Give example?

Answer

To pass the information into the script from outside, help can be taken from the PHP CLI (Command line interface) method. Suppose addition of two numbers has to be passed to PHP then it can be passed like this on the command line:


php add.php 2 3


Here the script name is add.php, and 2 and 3 are the numbers that has to be added by the script. These numbers are available inside the script in an array called $argv. This array contains all the information on the command line; the statement is stored as follows:


$argv[0]=add.php


$argv[1]=2


$argv[2]=3


So, $argv always contains at least one element — the script name.


Then, in your script, you can use the following statements:


$sum = $argv[1] + $argv[2];


echo $sum;


$argc is a variable that stores the numbers of elements in $argv. $argc is equal to at least 1, which is saved for the name of the script. Example is $argc=3 using the above statements.

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 5720
Q:

The Sum of three consecutive numbers is 126.Find the highest number.

 

A) 41 B) 42
C) 43 D) 44
 
Answer & Explanation Answer: D) 44

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Inventions
Exam Prep: Bank Exams

22 5720
Q:

Which one of the following is a waterborne disease?

 

A) Tuberculosis B) Malaria
C) Cholera D) All the above
 
Answer & Explanation Answer: C) Cholera

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology
Exam Prep: Bank Exams

2 5720
Q:

Which containers use a border Layout as their default layout ?

Answer

The window, Frame and Dialog classes use a border layout as their default layout.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

8 5719
Q:

The Green Revolution in India was the outcome of the efforts of who amongst the following?

A) Dr MS Swaminathan B) Dr C Rangarajan
C) KV Kamath D) Dr Rakesh Mohan
 
Answer & Explanation Answer: A) Dr MS Swaminathan

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams
Job Role: Bank PO

18 5718
Q:

Improve the bracketed part of the sentence.

 

Through the practice of repeated affirmations, we can make great progress on our chosen path and (increasing) our magnetism to succeed in anything.

A) increased B) have increased
C) increase D) No improvement
 
Answer & Explanation Answer: C) increase

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 5717
Q:

Which among the following constituents of xylem is/are tubular structure(s)?

 

I. Tracheids

II. Vessels

III. Xylem fibres

 

A) Only I B) Only II
C) Only I and II D) All I, II and III
 
Answer & Explanation Answer: C) Only I and II

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology
Exam Prep: Bank Exams

3 5715