+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. Functions that are defined in the model and that replace along chain with a simple one are called _____.
None of Them
Event Listener
Eloquent ORM
Model Events
View Answer
2. 'd' later? $a = array( 'a', 3 => 'b', 1 => 'c', 'd' );
$a[3]
$a[1]
$a[4]
$a[2]
View Answer
3. The ____________ file in windows is the first file that is referenced when the operating system tries to resolve a domain name.
Local
Hosta
Public
All of them
View Answer
4. In Key value pairs, the value should contain validating keywords separated by the _______ symbol.
*
$
#
|
View Answer
5. What is the strpos() function used for?
Locate position of a string’s first character
Find the last character of a string
Search for character within a string
None of these
View Answer
6. Laravel uses the ________ design pattern.
Wordpress
None of These
Model-View-Controller
CakePHP
View Answer
7. Which of the following is used to declare a constant?
define
#pragma
constant
const
View Answer
8. The Update operation is similar to the ______ operation.
Edit
Update
Create
None of Them
View Answer
9. _________ help in organizing codes by grouping requests that handle the codes in a single route and class.
Controllers
Application
Views
Models
View Answer
10. How do I create PHP arrays in a HTML
?
" required /> < input ="MyArray[]" />
" required /> < input name="MyArray[]" />
< input name= MyArray[]/>
< input MyArray[] />
View Answer