+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. What gets printed?
33
37
32
38
View Answer
2. Which of the following enables the user to add elements to the project that follow the Laravel convention?
Laravel Components
Convention
Artisan Tool
Composer
View Answer
3. 'd' later? $a = array( 'a', 3 => 'b', 1 => 'c', 'd' );
$a[4]
$a[3]
$a[1]
$a[2]
View Answer
4. The ____________ file in windows is the first file that is referenced when the operating system tries to resolve a domain name.
Public
All of them
Local
Hosta
View Answer
5. _________ automatically assign routes to all functions that have been declared in the Resource.
All of Them
Requests
Yield
Resource Routing
View Answer
6. What will be the value of $var?
1
0.2
0.5
0
View Answer
7. Which function is used to Strip whitespace (or other characters) from the beginning and end of a string?
strip_str
trim_str
strip
trim
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 is the strpos() function used for?
Find the last character of a string
Locate position of a string’s first character
None of these
Search for character within a string
View Answer
10. What is the difference between echo and print?
Echo can take multiple parameters where as print cannot
Print is a function where as echo is not.
They both behave the same.
Print can take multiple parameters where as echo cannot
View Answer