+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. Which of the following enables the user to add elements to the project that follow the Laravel convention?
Artisan Tool
Convention
Composer
Laravel Components
View Answer
2. Which of the following is used to declare a constant?
constant
const
#pragma
define
View Answer
3. The Update operation is similar to the ______ operation.
Update
Create
Edit
None of Them
View Answer
4. What does PHP stand for?
Private Home Page
Php pre processor
Personal Home Page
Hypeetext pre-processor
View Answer
5. _________ automatically assign routes to all functions that have been declared in the Resource.
Resource Routing
Requests
Yield
All of Them
View Answer
6. What is the purpose of $_SESSION[]?
Used to initialize a session.
Used to register a global variable
Used to store variables of the current session
none of the above
View Answer
7. Which of the following is the way to create comments in PHP?
all of the above
/* commented code here */
// commented code to end of line
# commented code to end of line
View Answer
8. ____________ function in PHP Returns a list of response headers sent (or ready to send)
header_sent()
Header_send()
header()
headers_list()
View Answer
9. What is the difference between echo and print?
Print is a function where as echo is not.
Print can take multiple parameters where as echo cannot
Echo can take multiple parameters where as print cannot
They both behave the same.
View Answer
10. In Key value pairs, the value should contain validating keywords separated by the _______ symbol.
$
*
|
#
View Answer