+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. ____________ function in PHP Returns a list of response headers sent (or ready to send)
Header_send()
header()
headers_list()
header_sent()
View Answer
2. The Update operation is similar to the ______ operation.
None of Them
Edit
Update
Create
View Answer
3. What gets printed?
32
38
37
33
View Answer
4. Which of the following is used to declare a constant?
const
define
#pragma
constant
View Answer
5. The ____________ file in windows is the first file that is referenced when the operating system tries to resolve a domain name.
Local
All of them
Hosta
Public
View Answer
6. Which of the following enables the user to add elements to the project that follow the Laravel convention?
Composer
Laravel Components
Convention
Artisan Tool
View Answer
7. 'd' later? $a = array( 'a', 3 => 'b', 1 => 'c', 'd' );
$a[4]
$a[1]
$a[3]
$a[2]
View Answer
8. In Key value pairs, the value should contain validating keywords separated by the _______ symbol.
|
$
*
#
View Answer
9. In which variable is the users IP address stored?
$DOMAIN
$REMOTE_ADDR
$_ENV
$GLOBALS
View Answer
10. Which of the following is the way to create comments in PHP?
/* commented code here */
all of the above
# commented code to end of line
// commented code to end of line
View Answer