Explore topic-wise InterviewSolutions in Current Affairs.

This section includes 7 InterviewSolutions, each offering curated multiple-choice questions to sharpen your Current Affairs knowledge and support exam preparation. Choose a topic below to get started.

1.

Write the equation of three lines that are Parallel to the X-axis

Answer»

y = 3 

y = -4 

y = 6

2.

A line passes through the point (-4,6) and is parallel to x-axis. Find its equation.

Answer»

Equation of a line parallel to y-axis passing through (a, b) is x = a 

Thus, 

Equation of a line passing through the point (-4, 6) and parallel toy-axis is x = -4

3.

Which of the following represent a line parallel to x-axis ? A) 2x + y = 7- B) 2y – 3 = y + 1 C) x + 3 = 0D) x + y = 3

Answer»

B) 2y – 3 = y + 1

4.

If the point (a,2) lies on the graph of the linear equation 2x-3y+8=0, find the value of a.

Answer»

Given, 

Point (a,2) lies on the graph of the linear equation 2x - 3y + 8 = 0 

Thus, 

(a, 2) satisfies the equation 

⇒ 2a – 6 + 8 = 0 

⇒ 2a = - 2 

⇒ a = - 1

5.

If (4,19) is a solution of the equation y = ax + 3, then a =A. 3 B. 4 C. 5 D. 6

Answer»

Option : (B)

Given, 

(4, 19) is a solution of the equation y = ax + 3 

⇒ 19 = 4a + 3 

⇒ a = 4

6.

If the point (3, 4) lies on the graph of the equation 3y = ax + 7, find the value of a.

Answer»

3y = ax + 7 

If point (3, 4) then a = ? 

3y = ax + 7 

3(4) = a(3) + 7 

∵ x = 3, y = 4 

12 = 3a + 7 

3a + 7 = 12 

3a = 12 – 7 

3a = 5 

∴ a = \(\frac{5}{3}\)

7.

What is the distance of the point (-2,-3) from Y – axis ? A) 3 units B) 2 unitsC) – 2 units D) – 3 units

Answer»

Correct option is  B) 2 units

8.

Which point lies on the X – axis ? A) (-2, 0) B) (0, – 4) C) (- 3, – 4) D) (5, 1)

Answer»

Correct option is  A) (-2,0)

9.

Find the value of k for which the point (1,-2) lies on the graph of the linear equation x - 2y + k = 0.

Answer»

Given, 

(1,-2) lies on the graph of the linear equation x - 2y + k = 0 

Thus, 

(1, -2) satisfies the equation 

⇒ 1 + 4 + k = 0 

⇒ k = - 5

10.

The equation of X – axis is …………….. A) x = 0 B) y = 0 C) 1/x = 0 D) 1/y = 0

Answer»

Correct option is  B) y = 0

11.

The distance between origin and the point (- 3, 0) A) 6 unitsB) 3 units C) 0 units D) – 3 units

Answer»

Correct option is  B) 3 units

12.

x < 0, y < 0 then the point (x + y, -x - y) lies in the A) First quadrant B) Second quadrant C) Third quadrant D) Fourth quadrant

Answer»

C) Third quadrant

13.

The distance between origin and die point (-3, 0) A) 0 unitsB) 3 unitsC) 6 units D) 9 units

Answer»

Correct option is (B) 3 units

The distance between origin (0, 0) and point (-3, 0)

= \(\sqrt{(-3-0)^2+(0-0)^2}\)

= \(\sqrt{9+0}\) = 3 units

Correct option is  B) 3 units

14.

The distance of the point (2, -3) from X-axis A) 5 units B) 3 units C) 2 units D) 1 unit

Answer»

Correct option is (B) 3 units

The distance of the point (2, -3) from X-axis

= y-coordinate

= -3

= 3 units    \((\because\) Distance never be negative)

Correct option is  B) 3 units

15.

IUPAC name of the compound(A) 2, 5-dimethyl Phenol (B) 1-hydroxy-2-methyltoluene (C) 1-Hydroxy-2, 3-dimethylbenzene (D) Hydroxy Dimethyl benzene

Answer»

Correct Answer is: (D) Hydroxy Dimethyl benzene

16.

Simplest hydroxy derivative of Benzene is:(A) Propanol(B) Phenol(C) Benzylalcohol(D) None

Answer»

Answer is (B) Phenol

17.

IUPAC name of the compound (A) 2, 5-dimethyl Phenol(B) 1-hydroxy-2-methyltoluene(C) 1-Hydroxy-2, 3-dimethylbenzene(D) Hydroxy dimethyl benzene

Answer»

Answer is (D) Hydroxy dimethyl benzene

18.

If vector|a + b| = vector|a - b|, then show that vector a is perpendicular on vector b.

Answer»

Given that, vector|a + b| = vector|a - b|

squaring both side,

vector(a + b)2 = vector(a - b)2

= a2 + b2 + 2 vector(a.b) = a2 + b2 - 2 vector(a.b)

4 vector(a.b) = 0

vector(a.b) = 0

Thus, vector a is perpendicular to vector b.

19.

If vector(a x b) = 0 and vector(a.b) = 0, then which of the following is true?(a) vector a perpendicular to b(b) vector a || b(c) vector a = 0 and vector b = 0(d) vector a = 0 or vector b = 0  

Answer»

Answer is (d) vector a = 0 or vector b = 0  

20.

Is | \(\vec a-\vec b\) | greater than or less than | \(\vec a\) | + | \(\vec b\) |?

Answer»

\({|\vec a-\vec b|}^2-{(|\vec a|+|\vec b|)}^2\)

⇒\(|\vec a|^2+|\vec b|^2-2\,|\vec a|\,|\vec b|\,cos\, \theta-|\vec a|^2-|\vec b|^2-2|\vec a||\vec b|\)

⇒-4| a | | b | \(cos^2\frac{\theta}{2}\)

= a negative quantity

Hence,  \(|\vec a- \vec b|<|\vec a|+|\vec b|\)

21.

|(1,x,x2),(1,y,y2),(1,z,z2)| = (a) 0(b) (x - y)(y - z)(z - x)(c) (y - x)(y - z)(z - x)(d) none of these

Answer»

Answer is (b) (x - y)(y - z)(z - x)

22.

Why do some people not remember to take medicines?

Answer»

Some people do not remember to take medicines with them.They forget to have medicines with them because of their dislike for pills of medicines. Most of the people do not like to use medicines as they hesitate to have them. Actually they neglect the medicines.

23.

The differential equation of family of line passing through the origin is :(a) x(dy/dx) = y(b) y(dy/dx) = x(c) dy/dx = y(d) dy/dx = x

Answer»

Answer is (a) x(dy/dx) = y

24.

d(e-x)/dx = (a) e-x(b) -e-x(c) 1/e-x(d) -1/e-x

Answer»

Answer is (b) - e-x

25.

cos-1 1/2 + 2 sin-1 1/2 = (a) 2π/3(b) π/2(c) 4π/3(d) none of these

Answer»

Answer is (a) 2π/3

26.

(d/dx){cos(sin x)} = (a) sin(sin x)cos x(b) -sin(sin x)cos x(c) -sin(cos x)cos x(d) none of these

Answer»

Answer is (b) -sin(sin x)cos x

27.

A pair of dice are rolled. The probability of obtaining an even prime number on each dices.(a) 1/36(b) 1/12(c) 1/6(d) 0

Answer»

Answer is (a) 1/36

28.

Evaluate the integral: ∫cos(log x)/x dx

Answer»

Take log x = t

So we get

1/x dx = dt

By integrating w.r.t. t

∫cos t dt = sin t + c

By substituting the value of t

= sin (log x) + c

29.

∫cos 2x/(sin x + cos x)2 dx = (a) 1/(sin x + cos x) + c(b) log(sin x + cos x) + c(c) log|sin x + cos x| + c(d) 1/(sin x + cos x )2 + c

Answer»

Answer is (b) log(sin x + cos x) + c

30.

In 15 days, the earth picks up 1.2 x 108 kg of dust from the atmosphere. In how many days it will pick up 4.8 x 108 kg of dust?

Answer»

Let the number of days is x

Weight of dust(pounds)1.2 x 1084.8 x 108
Time(days)15x

\(\frac{1.2\times 10^8}{15}\) = \(\frac{4.8\times 10^8}{x}\)

On cross multiplication, we get

1.2 x 108 x x = 15 x 4.8 x 108

x = \(\frac{15\times 4.8\times 10^8}{1.2 \times 10^8}\) = 60

Therefore the number of days required to pick up the dust is 60 days

31.

∫cos √x/√x dx =(a) 2 cos x + k(b) 2 sin x + k(c) 2 sin √x + k(d) 2 cos √x + k

Answer»

Answer is (b) 2 sin x  k

32.

In 10 days, the earth picks up 2.6 x 108 pounds of dust from the atmosphere. How much dust will it pick up in 45 days?

Answer»

Let the weight of dust picked up is x pounds

Time(days)1045
Weight of dust(pounds)2.6 x 108x

\(\frac{10}{2.6\times 10^8}\) = \(\frac{45}{x}\)

On cross multiplication, we get

10 x x = 45 x 2.6 x 108

x = \(\frac{45\times 2.6\times 10^8}{10}\) = 11.7 x 108

Therefore the weight of dust picked up is 11.7 × 108 pounds

33.

∫(e√x/√x) dx is equal to which of the following.(A) e√x(B) e√x/2(C) 2e√x(D) x.e√x

Answer»

Answer is (C) 2e√x

34.

What is the importance of “action” attribute in an HTML, form?

Answer»

The action attribute in an HTML form species the file name the data to be submitted. When the submit button in the form is clicked the data is submitted to the file specified in the action attribute.

35.

What are the difference between GET and POST methods in form submitting?

Answer»

The difference between GET and POST method is given below.

   Get method      Post method
1. Faster1. Slower
2. To send small volume of data.2 To send large volume of data
3. Up to 2000 characters3. No limit
4. Less secure4. More secure
5. Data visible during submission5. Data not visible during submission
6. Page link can be book marked6. Page link can never be book marked.
36.

Which of the following functions returns the number of characters in a string variable?a) count($variable) b) ien($variable) c) strcount($variable) d) strlen(Svariable)

Answer»

d) strlen($variable)

37.

Which of the following variables is not a predefined variable? (a) $GET (b) $ASK (c) SREQUEST (d) $POST

Answer»

$ASK is not a predefined variable

38.

Which one of the following should not be used while sending password or other sensitive information? (a) Get (b) Post (c) Request (d) Next

Answer»

Get should not be used while sending password or other sensitive information.

39.

When $_GET variable is used to collect data, the data is visible toa) none b) only you c) everyone d) selected few

Answer»

(c) everyone.

40.

Which of the following functions returns 1 when the output is successful? (a) echo () (b) print () (c) both (d) None

Answer»

Answer is (b) print()

41.

Which of the following printing constructs accepts multiple parameters? (a) echo (b) print (c) printf (d) All of the above

Answer»

echo printing constructs accepts multiple parameters

42.

Which variable is used to collect form data sent with both the GET and POST methods? (a) %Both (b) $_Both (c) $Request(d) $_Request

Answer»

(d) $_Request

43.

Find the error in each of the following PHP scripts:(a) &gt;?php/* print a line of output /echo ‘hello’?&gt;(b) &gt;?phpecho'&lt;p align=”right”&gt;Copyright Me, 2008&lt;/p&gt;';?&gt;(b)  &lt;?phpecho'Line 1;?&gt;

Answer»

(a) There is an error

Un terminated comment line The correct code is as follows <!--?php /‘print a line of output*/ echo’hello’-->

<?php

/‘print a line of output*/

echo’hello’

?>

(b) no error. 

(c) String must be enclosed in single or double quotes. The correct code is as follows.

<?php

echo’Line 1‘;

?>

44.

Which one of the following parameters is not used mysql_connect()? (a) database host (b) user ID (c) password (d) database name

Answer»

d) database name

45.

Study the following steps and determine the correct order(i) Open a connection to MySQL server (ii) Execute the SQL, query (iii) Fetch the data from query (iv) Select database (v) Close Connections (a) 1, 4, 2, 3, 5(b) 4, 1, 2, 3, 5 (c) 1, 5, 4, 2, 1 (d) 4, 1, 3, 2, 5

Answer»

(a) 1, 4, 2, 3, 5.

46.

Which character is used to terminate a PHP statement? Name one situation where omitting this termination character does not produce an error.

Answer»

In PHP each and every statement must be end with semicolon. There is an exception for the last statement. For the last statement of PHP code semicolon is not compulsory.

47.

What is PHP?

Answer»

Sip Formerly it is known as Personal Home Pages. Nowadays PHP stands for PHP Hypertext Preprocessor. Normally, it runs on a web server.

48.

Why is PHP superior to client-side languages such as JavaScript?

Answer»

Benefits of using PHP

Client side scripts(JavaScript) are run faster but it has some limitations. The limitations are we can view the source code hence it is less secure. On the other hand PHP is executed on the server and the result is sent back to the client (browser) so it is impossible to view the source code. 

Benefits of PHP are given below 

  • As PHP can be easily embedded into HTML moreover its easiness to convert a static website into dynamic one.
  • It is compatible with almost all databases
  • It is platform independent can run on almost all OS (Windows, Linux, MAC) It is simple and easy to learn
  • It uses very small amount of system resources to run and faster.
  • PHP provides security to prevent malicious attacks. 
  • Open source community supports PHP
  • It is a free s/w by all means hence can be used to develop all types of web sites.
49.

What is the difference between PHP and JavaScript?

Answer»

Client side scripts(JavaScript) are run faster but it has some limitations. The limitations are we can view the source code hence it is less secure. On the other hand PHP is executed on the server and the result is sent back to the client(browser) so it is impossible to view the source code.

Benefits of using PHP

Client side scripts(JavaScript) are run faster but it has some limitations. The limitations are we can view the source code hence it is less secure. On the other hand PHP is executed on the server and the result is sent back to the client(browser) so it is impossible to view the source code.

Benefits of PHP are given below 

  • As PHP can be easily embedded into HTML moreover its easiness to convert a static website into a dynamic one.
  • It is compatible with almost all databases
  • It is platform independent can run on almost all OS (Windows, Linux, MAC)
  • It is simple and easy to learn 
  • It uses very small amount of system resources to run and faster.
  • PHP provides security to prevent malicious attacks.
  • Open source community supports PHP
  • It is a free s/w by all means hence can be used to develop all types of web sites.
50.

What is an escape sequence? Name three commonly used escape sequences.

Answer»

Escape sequences It is a character preceded by a back slash(\)

 Operator   Definition       Example  Output
\”To print “echo TPHPY”’“PHP”
\’To print ‘echo”XYian”X’ian
\nNew lineecho “BVM \nHSS”BVM HSS
\tTo print tabecho”BVM\tHSS”BVM HSS
\rPrint carriage return
\$To print Secho “100\$”100$
\\To print\echo’’\\n is used as new line”\n is used as new line