+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. How do I create PHP arrays in a HTML
?
" required /> < input name="MyArray[]" />
" required /> < input ="MyArray[]" />
< input name= MyArray[]/>
< input MyArray[] />
View Answer
2. _________ automatically assign routes to all functions that have been declared in the Resource.
Resource Routing
All of Them
Yield
Requests
View Answer
3. What gets printed?
38
37
33
32
View Answer
4. What will be the value of $var?
1
0
0.5
0.2
View Answer
5. Which of the following is used to declare a constant?
const
#pragma
constant
define
View Answer
6. Which of the following enables the user to add elements to the project that follow the Laravel convention?
Artisan Tool
Composer
Laravel Components
Convention
View Answer
7. The main reason to use the query builder over writing SQL code manually is because _________.
It uses configuration mode for migration
It has few SQLite directives
It uses configuration mode for migration
It is rich in features
View Answer
8. In Key value pairs, the value should contain validating keywords separated by the _______ symbol.
$
|
#
*
View Answer
9. Which of the following is the way to create comments in PHP?
# commented code to end of line
/* commented code here */
all of the above
// commented code to end of line
View Answer
10. What is the strpos() function used for?
None of these
Search for character within a string
Find the last character of a string
Locate position of a string’s first character
View Answer