Question: Can someone help me answer these questions? 1. What linux command is used to create a directory? dir cd folder mkdir 2. Which part of
Can someone help me answer these questions?
1. What linux command is used to create a directory?
| dir | ||
| cd | ||
| folder | ||
| mkdir | ||
|
|
|
|
2. Which part of MVC software design is responsible for the user interface?
| It does not matter,It can be part of either M, V, or C. | ||||||||
| M | ||||||||
| V | ||||||||
| C 3. Which is the default order of sort in ORDER BY clause?
|
4.
What is the purpose of the $_SESSION variable?
5. In mysql, the WHERE clause is NOT used in which type of statement?
| SELECT | ||
| DELETE | ||
| INSERT | ||
| UPDATE |
6.
How do you get the actual name of uploaded file?
7. What linux command is used to display the current directory path?
| cd | ||
| pwd | ||
| showdir | ||
| curdir |
8. In OOP, the child class has access to functions and properties in the parent class that are declared as: (select all that apply)
| private | ||
| protected | ||
| public | ||
| hidden |
9.
The die() and exit() functions do the exact same thing in PHP.
True
False
10. Which of the following is NOT a super global variable.
| $_GET | ||
| $_FILES | ||
| $_CACHE | ||
| $_SESSION |
11. All classes need a constructor.
True
False
12. If preg_match returns false while searching for a regular expression, then:
| the pattern was not found | ||||||||||||||||||||||||||
| an error occured | ||||||||||||||||||||||||||
| the pattern was found multiple times | ||||||||||||||||||||||||||
| the pattern was found at the end of the string
| ||||||||||||||||||||||||||
|
|
| 13. In PHP you can use both single quotes ( ' ' ) and double quotes ( " " ) for strings.True False
14. Which method modifier prevents a method from being overridden by a subclass?
15. Which part of MVC software design is responsible for data access?
|
16. In html, you can have multiple forms on one page.
True
False
17.
PHP supports function overloading
True
False
18. Which of the following is NOT a magic method?
| __SET() | ||
| __CONSTRUCT() | ||
| __FILE() | ||
| __DESTRUCT() |
19 What linux command is used to move a file?
| mv | ||
| move | ||
| rn | ||
| cp |
20. Which of the following is NOT a mysql storage engine?
| myisam | ||
| innodb | ||
| memory | ||
| disk | ||
| blackhole |
21.
Suppose you have the array variable $myArray. Write the code to convert the array into a JSON string.
22. What is the the world's most popular Web server software?
| Microsoft IIS | ||
| Apple WebObjects | ||
| Apache | ||
| WebSphere |
23. What are the 4 main sql statements?
24 Which one of the following keyword is used to inherit our subclass into a superclass?
| extends | ||
| implements | ||
| inherit | ||
| include |
25 In OOP, what keyword is used to make a child class inherit from a parent class?
| inherit | ||
| extend | ||
| parent | ||
| abstract |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
