+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
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. Functions that are defined in the model and that replace along chain with a simple one are called _____.
None of Them
Eloquent ORM
Event Listener
Model Events
View Answer
2. Which of the following is the way to create comments in PHP?
/* commented code here */
all of the above
# commented code to end of line
// commented code to end of line
View Answer
3. What is the difference between echo and print?
They both behave the same.
Echo can take multiple parameters where as print cannot
Print is a function where as echo is not.
Print can take multiple parameters where as echo cannot
View Answer
4. Which of the following enables the user to add elements to the project that follow the Laravel convention?
Laravel Components
Artisan Tool
Convention
Composer
View Answer
5. What does PHP stand for?
Personal Home Page
Php pre processor
Hypeetext pre-processor
Private Home Page
View Answer
6. The Update operation is similar to the ______ operation.
Create
Edit
None of Them
Update
View Answer
7. What is the purpose of $_SESSION[]?
Used to register a global variable
none of the above
Used to initialize a session.
Used to store variables of the current session
View Answer
8. Which of the following is used to declare a constant?
constant
const
define
#pragma
View Answer
9. In Key value pairs, the value should contain validating keywords separated by the _______ symbol.
#
|
*
$
View Answer
10. What gets printed?
32
37
38
33
View Answer