+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 function is used to Strip whitespace (or other characters) from the beginning and end of a string?
strip_str
trim
strip
trim_str
View Answer
2. _________ help in organizing codes by grouping requests that handle the codes in a single route and class.
Application
Controllers
Views
Models
View Answer
3. Laravel uses the ________ design pattern.
Wordpress
None of These
CakePHP
Model-View-Controller
View Answer
4. What will be the value of $var?
0.2
0.5
1
0
View Answer
5. In Key value pairs, the value should contain validating keywords separated by the _______ symbol.
*
|
#
$
View Answer
6. The Update operation is similar to the ______ operation.
Create
Edit
None of Them
Update
View Answer
7. 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
8. Which of the following enables the user to add elements to the project that follow the Laravel convention?
Laravel Components
Composer
Convention
Artisan Tool
View Answer
9. The ____________ file in windows is the first file that is referenced when the operating system tries to resolve a domain name.
All of them
Local
Public
Hosta
View Answer
10. What gets printed?
38
32
33
37
View Answer