+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. 'd' later? $a = array( 'a', 3 => 'b', 1 => 'c', 'd' );
$a[3]
$a[1]
$a[2]
$a[4]
View Answer
2. ____________ function in PHP Returns a list of response headers sent (or ready to send)
headers_list()
header()
Header_send()
header_sent()
View Answer
3. The main reason to use the query builder over writing SQL code manually is because _________.
It uses configuration mode for migration
It is rich in features
It has few SQLite directives
It uses configuration mode for migration
View Answer
4. What gets printed?
37
32
33
38
View Answer
5. What does PHP stand for?
Php pre processor
Personal Home Page
Private Home Page
Hypeetext pre-processor
View Answer
6. In which variable is the users IP address stored?
$GLOBALS
$DOMAIN
$_ENV
$REMOTE_ADDR
View Answer
7. What is the difference between echo and print?
Print can take multiple parameters where as echo cannot
Print is a function where as echo is not.
Echo can take multiple parameters where as print cannot
They both behave the same.
View Answer
8. _________ help in organizing codes by grouping requests that handle the codes in a single route and class.
Views
Controllers
Models
Application
View Answer
9. Which of the following is used to declare a constant?
#pragma
constant
define
const
View Answer
10. The ____________ file in windows is the first file that is referenced when the operating system tries to resolve a domain name.
Public
Hosta
All of them
Local
View Answer