Safcode Institute by Sir Safder
+923132835245
safcodeinstitute@gmail.com
Online Quiz
10000+ Questions!
Students Works
Ideas & Topics!
Live Coding
HTML & CSS
Home
(current)
About
Courses
CIT
Web Designing
Graphic Designing
Web Development
Digital Marketing
App Development
Amazon Virtual Assistant
YouTube Earning
WordPress Development
Tutorials
Feedback
Programming Notes
Verification
Contact
Test Your Programming Skills with Safcode!
Here is all important interview / exams questions.
Student doing practice apptitude test on safcode platform.
Instruction: "Total Number of Questions: 20
Each question carry 10 mark , no negative marking"
Quiz Start
1. _________ help in organizing codes by grouping requests that handle the codes in a single route and class.
Models
Views
Application
Controllers
View Answer
2. What gets printed?
37
38
32
33
View Answer
3. In Key value pairs, the value should contain validating keywords separated by the _______ symbol.
#
|
$
*
View Answer
4. Which of the following is the way to create comments in PHP?
// commented code to end of line
all of the above
# commented code to end of line
/* commented code here */
View Answer
5. The ____________ file in windows is the first file that is referenced when the operating system tries to resolve a domain name.
Hosta
Local
All of them
Public
View Answer
6. ____________ function in PHP Returns a list of response headers sent (or ready to send)
header()
Header_send()
header_sent()
headers_list()
View Answer
7. 'd' later? $a = array( 'a', 3 => 'b', 1 => 'c', 'd' );
$a[1]
$a[3]
$a[4]
$a[2]
View Answer
8. The Update operation is similar to the ______ operation.
Update
Edit
None of Them
Create
View Answer
9. What is the purpose of $_SESSION[]?
Used to initialize a session.
Used to store variables of the current session
Used to register a global variable
none of the above
View Answer
10. What is the strpos() function used for?
Locate position of a string’s first character
Find the last character of a string
Search for character within a string
None of these
View Answer