++92 313 8389893
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 is the strpos() function used for?
None of these
Find the last character of a string
Locate position of a string’s first character
Search for character within a string
View Answer
2. How do I create PHP arrays in a HTML
?
< input name= MyArray[]/>
" required /> < input name="MyArray[]" />
< input MyArray[] />
" required /> < input ="MyArray[]" />
View Answer
3. In Key value pairs, the value should contain validating keywords separated by the _______ symbol.
$
*
|
#
View Answer
4. What is the purpose of $_SESSION[]?
none of the above
Used to store variables of the current session
Used to initialize a session.
Used to register a global variable
View Answer
5. Which of the following enables the user to add elements to the project that follow the Laravel convention?
Convention
Composer
Artisan Tool
Laravel Components
View Answer
6. The Update operation is similar to the ______ operation.
None of Them
Edit
Update
Create
View Answer
7. The ____________ file in windows is the first file that is referenced when the operating system tries to resolve a domain name.
All of them
Public
Local
Hosta
View Answer
8. What will be the value of $var?
0.2
1
0.5
0
View Answer
9. What does PHP stand for?
Personal Home Page
Hypeetext pre-processor
Php pre processor
Private Home Page
View Answer
10. 'd' later? $a = array( 'a', 3 => 'b', 1 => 'c', 'd' );
$a[1]
$a[3]
$a[4]
$a[2]
View Answer