Safcode Institute by Sir Safder
+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 Development
Amazon Virtual Assistant
Shopify + WordPress Development
Tutorials
Feedback
Programming Notes
Softwares
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. What is the purpose of $_SESSION[]?
none of the above
Used to store variables of the current session
Used to register a global variable
Used to initialize a session.
View Answer
2. The main reason to use the query builder over writing SQL code manually is because _________.
It is rich in features
It uses configuration mode for migration
It uses configuration mode for migration
It has few SQLite directives
View Answer
3. _________ help in organizing codes by grouping requests that handle the codes in a single route and class.
Controllers
Models
Application
Views
View Answer
4. What is the strpos() function used for?
None of these
Locate position of a string’s first character
Find the last character of a string
Search for character within a string
View Answer
5. Which of the following enables the user to add elements to the project that follow the Laravel convention?
Artisan Tool
Laravel Components
Convention
Composer
View Answer
6. Which function is used to Strip whitespace (or other characters) from the beginning and end of a string?
strip
trim
trim_str
strip_str
View Answer
7. The ____________ file in windows is the first file that is referenced when the operating system tries to resolve a domain name.
Hosta
Local
All of them
Public
View Answer
8. How do I create PHP arrays in a HTML
?
" required /> < input name="MyArray[]" />
< input name= MyArray[]/>
" required /> < input ="MyArray[]" />
< input MyArray[] />
View Answer
9. What does PHP stand for?
Php pre processor
Personal Home Page
Private Home Page
Hypeetext pre-processor
View Answer
10. Functions that are defined in the model and that replace along chain with a simple one are called _____.
Event Listener
Model Events
None of Them
Eloquent ORM
View Answer