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
App Development
Amazon Virtual Assistant
YouTube Earning
WordPress Development
Tutorials
Feedback
Programming Notes
Verification
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?
#pragma
const
define
constant
View Answer
2. What does PHP stand for?
Php pre processor
Hypeetext pre-processor
Personal Home Page
Private Home Page
View Answer
3. The main reason to use the query builder over writing SQL code manually is because _________.
It is rich in features
It has few SQLite directives
It uses configuration mode for migration
It uses configuration mode for migration
View Answer
4. _________ automatically assign routes to all functions that have been declared in the Resource.
All of Them
Resource Routing
Yield
Requests
View Answer
5. In which variable is the users IP address stored?
$REMOTE_ADDR
$GLOBALS
$DOMAIN
$_ENV
View Answer
6. Which of the following enables the user to add elements to the project that follow the Laravel convention?
Convention
Artisan Tool
Composer
Laravel Components
View Answer
7. 'd' later? $a = array( 'a', 3 => 'b', 1 => 'c', 'd' );
$a[1]
$a[4]
$a[3]
$a[2]
View Answer
8. The ____________ file in windows is the first file that is referenced when the operating system tries to resolve a domain name.
All of them
Public
Hosta
Local
View Answer
9. Functions that are defined in the model and that replace along chain with a simple one are called _____.
Event Listener
Eloquent ORM
Model Events
None of Them
View Answer
10. ____________ function in PHP Returns a list of response headers sent (or ready to send)
header_sent()
headers_list()
Header_send()
header()
View Answer