+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. What is the strpos() function used for?
Search for character within a string
None of these
Find the last character of a string
Locate position of a string’s first character
View Answer
2. The Update operation is similar to the ______ operation.
Update
Create
None of Them
Edit
View Answer
3. Which of the following is used to declare a constant?
#pragma
define
constant
const
View Answer
4. Functions that are defined in the model and that replace along chain with a simple one are called _____.
Event Listener
None of Them
Eloquent ORM
Model Events
View Answer
5. What gets printed?
32
33
37
38
View Answer
6. Which function is used to Strip whitespace (or other characters) from the beginning and end of a string?
strip
trim
trim_str
strip_str
View Answer
7. In which variable is the users IP address stored?
$REMOTE_ADDR
$GLOBALS
$_ENV
$DOMAIN
View Answer
8. In Key value pairs, the value should contain validating keywords separated by the _______ symbol.
#
|
$
*
View Answer
9. What is the purpose of $_SESSION[]?
Used to initialize a session.
Used to store variables of the current session
none of the above
Used to register a global variable
View Answer
10. 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