+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 is used to declare a constant?
define
const
constant
#pragma
View Answer
2. What gets printed?
32
33
38
37
View Answer
3. Functions that are defined in the model and that replace along chain with a simple one are called _____.
None of Them
Model Events
Event Listener
Eloquent ORM
View Answer
4. ____________ function in PHP Returns a list of response headers sent (or ready to send)
header_sent()
header()
Header_send()
headers_list()
View Answer
5. In Key value pairs, the value should contain validating keywords separated by the _______ symbol.
|
*
$
#
View Answer
6. _________ automatically assign routes to all functions that have been declared in the Resource.
All of Them
Resource Routing
Requests
Yield
View Answer
7. What is the strpos() function used for?
Locate position of a string’s first character
None of these
Search for character within a string
Find the last character of a string
View Answer
8. Which of the following enables the user to add elements to the project that follow the Laravel convention?
Convention
Composer
Laravel Components
Artisan Tool
View Answer
9. Which of the following is the way to create comments in PHP?
# commented code to end of line
// commented code to end of line
/* commented code here */
all of the above
View Answer
10. _________ help in organizing codes by grouping requests that handle the codes in a single route and class.
Controllers
Views
Models
Application
View Answer