+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 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
2. 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
3. How do I create PHP arrays in a HTML
?
< input MyArray[] />
< input name= MyArray[]/>
" required /> < input ="MyArray[]" />
" required /> < input name="MyArray[]" />
View Answer
4. _________ help in organizing codes by grouping requests that handle the codes in a single route and class.
Application
Controllers
Views
Models
View Answer
5. Functions that are defined in the model and that replace along chain with a simple one are called _____.
Event Listener
None of Them
Model Events
Eloquent ORM
View Answer
6. The ____________ file in windows is the first file that is referenced when the operating system tries to resolve a domain name.
Hosta
Public
Local
All of them
View Answer
7. In which variable is the users IP address stored?
$DOMAIN
$_ENV
$REMOTE_ADDR
$GLOBALS
View Answer
8. 'd' later? $a = array( 'a', 3 => 'b', 1 => 'c', 'd' );
$a[2]
$a[3]
$a[1]
$a[4]
View Answer
9. Which of the following enables the user to add elements to the project that follow the Laravel convention?
Laravel Components
Convention
Artisan Tool
Composer
View Answer
10. The Update operation is similar to the ______ operation.
Update
None of Them
Create
Edit
View Answer