+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. 'd' later? $a = array( 'a', 3 => 'b', 1 => 'c', 'd' );
$a[1]
$a[3]
$a[2]
$a[4]
View Answer
2. In Key value pairs, the value should contain validating keywords separated by the _______ symbol.
#
|
$
*
View Answer
3. The ____________ file in windows is the first file that is referenced when the operating system tries to resolve a domain name.
Hosta
All of them
Public
Local
View Answer
4. ____________ function in PHP Returns a list of response headers sent (or ready to send)
headers_list()
header_sent()
header()
Header_send()
View Answer
5. What will be the value of $var?
0.2
0.5
1
0
View Answer
6. What gets printed?
37
32
33
38
View Answer
7. Laravel uses the ________ design pattern.
None of These
Wordpress
Model-View-Controller
CakePHP
View Answer
8. _________ automatically assign routes to all functions that have been declared in the Resource.
Yield
Resource Routing
All of Them
Requests
View Answer
9. 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
10. Which function is used to Strip whitespace (or other characters) from the beginning and end of a string?
strip_str
strip
trim
trim_str
View Answer