+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. Which of the following is used to declare a constant?
constant
const
define
#pragma
View Answer
2. 'd' later? $a = array( 'a', 3 => 'b', 1 => 'c', 'd' );
$a[4]
$a[1]
$a[3]
$a[2]
View Answer
3. Functions that are defined in the model and that replace along chain with a simple one are called _____.
None of Them
Event Listener
Model Events
Eloquent ORM
View Answer
4. _________ help in organizing codes by grouping requests that handle the codes in a single route and class.
Controllers
Models
Views
Application
View Answer
5. ____________ function in PHP Returns a list of response headers sent (or ready to send)
header_sent()
header()
Header_send()
headers_list()
View Answer
6. What is the strpos() function used for?
None of these
Find the last character of a string
Search for character within a string
Locate position of a string’s first character
View Answer
7. What will be the value of $var?
0
0.5
0.2
1
View Answer
8. How do I create PHP arrays in a HTML
?
" required /> < input name="MyArray[]" />
< input MyArray[] />
< input name= MyArray[]/>
" required /> < input ="MyArray[]" />
View Answer
9. What gets printed?
33
32
38
37
View Answer
10. _________ automatically assign routes to all functions that have been declared in the Resource.
Requests
All of Them
Yield
Resource Routing
View Answer