/40

Aptitude Test

1 / 40

Choose the correct sentence:

2 / 40

Which PHP function is commonly used to establish a connection with MySQL?

3 / 40

Which SQL clause is used to filter records?

4 / 40

Which SQL command is used to add a new record?

5 / 40

Which method is used to access a class property inside the same class?

6 / 40

Which SQL clause is used to group rows having the same values?

7 / 40

What is the output of the following PHP code?
$x = 5;
echo $x++;

8 / 40

Which of the following is used to prevent SQL Injection?

9 / 40

Which SQL command is used to remove records from a table?

10 / 40

What will be the output?
$arr = array(1,2,3);
echo count($arr);

11 / 40

Which organization manages the PHP programming language?

12 / 40

Which PHP function is used to include a file only once?

13 / 40

Which PHP function is used to start a session?

14 / 40

What is the capital of India?

15 / 40

Which SQL function is used to count records?

16 / 40

Which SQL keyword is used to sort query results?

17 / 40

What is the purpose of a primary key?

18 / 40

What will be the output?
echo strlen("ABC Studio");

19 / 40

Choose the correct word:
"She _ working on a PHP project."

20 / 40

Which statement is used for conditional execution in PHP?

21 / 40

What comes next?
2, 4, 8, 16, _

22 / 40

Which SQL command is used to retrieve data from a database?

23 / 40

Which SQL query returns all records from the left table and matching records from the right table

24 / 40

If 5 developers complete a task in 10 days, this question is mainly related to:

25 / 40

Which JOIN returns matching records from both tables?

26 / 40

Which function is used to count the number of elements in an array?

27 / 40

Which symbol is used to declare a variable in PHP?

28 / 40

Which OOP concept allows one class to acquire properties and methods of another class?

29 / 40

Which keyword is used to create a class in PHP?

30 / 40

Choose the correct sentence:

31 / 40

What does HTTP stand for?

32 / 40

What is 25% of 200?

33 / 40

What is the default port number of MySQL?

34 / 40

Which PHP superglobal is used to collect form data sent using POST?

35 / 40

What is the purpose of an INDEX in MySQL?

36 / 40

Which PHP function is used to hash passwords securely?

37 / 40

If a product costs ₹800 and has a 10% discount, what is the final price?

38 / 40

What does CRUD stand for?

39 / 40

What will be the output?
$a = "10";
$b = 10;

if($a == $b){
echo "Equal";
}

40 / 40

Which HTTP method should generally be used for inserting sensitive data into a database?