TGC India
Creative Aptitude Test
A
Hi, Ankit Sharma
  • Question 1
    Which artisan command creates a new controller?
    2 Mark
  • Question 2
    Which log level in Laravel is suitable for debugging?
    2 Mark
  • Question 3
    Which file in Laravel defines application routes?
    2 Mark
  • Question 4
    Which method is used to retrieve all records in Eloquent?
    2 Mark
  • Question 5
    How do you create a new Laravel migration?
    2 Mark
  • Question 6
    Which middleware protects routes for authenticated users?
    2 Mark
  • Question 7
    Which Blade directive is used to output variables?
    2 Mark
  • Question 8
    How do you define a one-to-many relationship in Eloquent?
    2 Mark
  • Question 9
    Which method rolls back the last migration?
    2 Mark
  • Question 10
    Which facade is used for logging in Laravel?
    2 Mark
  • Question 11
    How do you validate input data in Laravel?
    2 Mark
  • Question 12
    Which artisan command runs all migrations?
    2 Mark
  • Question 13
    How do you encrypt data in Laravel?
    2 Mark
  • Question 14
    Which method retrieves a record by primary key in Eloquent?
    2 Mark
  • Question 15
    How do you create a new model in Laravel?
    2 Mark
  • Question 16
    Which command clears application cache?
    2 Mark
  • Question 17
    Which artisan command creates a new seeder?
    2 Mark
  • Question 18
    How do you restrict mass assignment in Laravel models?
    2 Mark
  • Question 19
    Which method stores session data?
    2 Mark
  • Question 20
    How do you paginate query results in Laravel?
    2 Mark
  • Question 21
    Which file stores environment variables?
    1 Mark
  • Question 22
    What is authorization?
    1 Mark
  • Question 23
    What is hashing New ?
    1 Mark
  • whatsapp
    Drop us a Query img
    TGC India 24x7 Support
    +91 9582786407 Available 24x7 for your queries
    viber Contact Us
    x

    For Voice Call

    18001020418

    For Whatsapp Call & Chat

    +919582786407