+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. What gets printed?
32
38
37
33
View Answer
2. _________ help in organizing codes by grouping requests that handle the codes in a single route and class.
Controllers
Models
Application
Views
View Answer
3. 'd' later? $a = array( 'a', 3 => 'b', 1 => 'c', 'd' );
$a[1]
$a[4]
$a[3]
$a[2]
View Answer
4. Which function is used to Strip whitespace (or other characters) from the beginning and end of a string?
trim
strip_str
strip
trim_str
View Answer
5. What is the strpos() function used for?
None of these
Search for character within a string
Locate position of a string’s first character
Find the last character of a string
View Answer
6. Which of the following is used to declare a constant?
const
constant
#pragma
define
View Answer
7. Which of the following enables the user to add elements to the project that follow the Laravel convention?
Convention
Laravel Components
Artisan Tool
Composer
View Answer
8. The ____________ file in windows is the first file that is referenced when the operating system tries to resolve a domain name.
Hosta
Local
Public
All of them
View Answer
9. In Key value pairs, the value should contain validating keywords separated by the _______ symbol.
|
*
$
#
View Answer
10. How do I create PHP arrays in a HTML
?
" required /> < input name="MyArray[]" />
" required /> < input ="MyArray[]" />
< input MyArray[] />
< input name= MyArray[]/>
View Answer