+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. The Update operation is similar to the ______ operation.
Update
None of Them
Create
Edit
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. 'd' later? $a = array( 'a', 3 => 'b', 1 => 'c', 'd' );
$a[2]
$a[3]
$a[1]
$a[4]
View Answer
4. In Key value pairs, the value should contain validating keywords separated by the _______ symbol.
|
*
#
$
View Answer
5. Which of the following is used to declare a constant?
define
constant
const
#pragma
View Answer
6. 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
7. 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
8. ____________ function in PHP Returns a list of response headers sent (or ready to send)
headers_list()
Header_send()
header()
header_sent()
View Answer
9. In which variable is the users IP address stored?
$DOMAIN
$_ENV
$REMOTE_ADDR
$GLOBALS
View Answer
10. What is the difference between echo and print?
Echo can take multiple parameters where as print cannot
Print can take multiple parameters where as echo cannot
They both behave the same.
Print is a function where as echo is not.
View Answer