++92 313 8389893
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
WordPress + SEO
Artificial Intelligence (AI)
Shopify + WordPress Development
Tutorials
Feedback
Programming Notes
Enroll Now
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. Which of the following is the way to create comments in PHP?
# commented code to end of line
/* commented code here */
// commented code to end of line
all of the above
View Answer
2. In which variable is the users IP address stored?
$REMOTE_ADDR
$GLOBALS
$DOMAIN
$_ENV
View Answer
3. What does PHP stand for?
Hypeetext pre-processor
Private Home Page
Php pre processor
Personal Home Page
View Answer
4. The Update operation is similar to the ______ operation.
None of Them
Update
Edit
Create
View Answer
5. _________ automatically assign routes to all functions that have been declared in the Resource.
Yield
All of Them
Resource Routing
Requests
View Answer
6. 'd' later? $a = array( 'a', 3 => 'b', 1 => 'c', 'd' );
$a[4]
$a[1]
$a[3]
$a[2]
View Answer
7. In Key value pairs, the value should contain validating keywords separated by the _______ symbol.
*
|
#
$
View Answer
8. What gets printed?
38
32
33
37
View Answer
9. Laravel uses the ________ design pattern.
CakePHP
Wordpress
Model-View-Controller
None of These
View Answer
10. Which of the following is used to declare a constant?
define
constant
const
#pragma
View Answer