+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
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. ____________ function in PHP Returns a list of response headers sent (or ready to send)
header_sent()
header()
Header_send()
headers_list()
View Answer
2. _________ automatically assign routes to all functions that have been declared in the Resource.
Yield
Resource Routing
Requests
All of Them
View Answer
3. _________ help in organizing codes by grouping requests that handle the codes in a single route and class.
Application
Views
Models
Controllers
View Answer
4. What is the strpos() function used for?
Find the last character of a string
Search for character within a string
None of these
Locate position of a string’s first character
View Answer
5. The Update operation is similar to the ______ operation.
Create
Update
None of Them
Edit
View Answer
6. What is the purpose of $_SESSION[]?
Used to register a global variable
Used to initialize a session.
Used to store variables of the current session
none of the above
View Answer
7. Which of the following is used to declare a constant?
constant
#pragma
define
const
View Answer
8. 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 has few SQLite directives
It uses configuration mode for migration
View Answer
9. What does PHP stand for?
Personal Home Page
Private Home Page
Hypeetext pre-processor
Php pre processor
View Answer
10. In which variable is the users IP address stored?
$GLOBALS
$_ENV
$REMOTE_ADDR
$DOMAIN
View Answer