+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. 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
2. In Key value pairs, the value should contain validating keywords separated by the _______ symbol.
*
#
|
$
View Answer
3. The main reason to use the query builder over writing SQL code manually is because _________.
It has few SQLite directives
It is rich in features
It uses configuration mode for migration
It uses configuration mode for migration
View Answer
4. ____________ function in PHP Returns a list of response headers sent (or ready to send)
headers_list()
header()
header_sent()
Header_send()
View Answer
5. 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
6. How do I create PHP arrays in a HTML
?
< input MyArray[] />
" required /> < input name="MyArray[]" />
< input name= MyArray[]/>
" required /> < input ="MyArray[]" />
View Answer
7. Laravel uses the ________ design pattern.
Model-View-Controller
Wordpress
None of These
CakePHP
View Answer
8. Which of the following is used to declare a constant?
#pragma
define
const
constant
View Answer
9. What will be the value of $var?
0.5
1
0.2
0
View Answer
10. 'd' later? $a = array( 'a', 3 => 'b', 1 => 'c', 'd' );
$a[3]
$a[2]
$a[4]
$a[1]
View Answer