Internship Tasks

2798 hands-on tasks to practice real job skills - earn XP, build a track record, get noticed for internships.

All Tracks Agile Scrum Programming Data Analysis Project Management DevOps UI/UX Design Digital Marketing Robotics
All Levels Beginner Intermediate Advanced Expert
💻 Advanced

Install a PECL Extension

Type the command to install the redis extension via PECL.

Programming
⏱ 3min ⭐ 80 XP
🌳 Advanced

static:: vs self:: in Inheritance

Pick the correct explanation of late static binding.

Programming
⏱ 3min ⭐ 70 XP
🌳 Advanced

Trait Method Conflicts

Pick the correct way PHP handles two traits with an identically-named method used in the same class.

Programming
⏱ 3min ⭐ 70 XP
🌳 Advanced

Exception vs Error Hierarchy

Pick the correct statement about catching a TypeError with a generic catch block.

Programming
⏱ 3min ⭐ 70 XP
🌳 Advanced

foreach by Reference Pitfall

Pick the correct explanation of a bug caused by reusing a loop variable after a by-reference foreach.

Programming
⏱ 3min ⭐ 70 XP
📊 Advanced

Compare Memory Usage: Array vs Generator

Read a chart comparing peak memory usage when processing 1 million rows with an array versus a generator.

Programming
⏱ 3min ⭐ 90 XP
📊 Advanced

Read Regex Backtracking Time by Pattern Complexity

Read a chart of execution time for increasingly complex regex patterns against the same test string.

Programming
⏱ 3min ⭐ 90 XP
📊 Advanced

Compare Function Call Overhead: Named vs Anonymous

Read a chart comparing execution time of calling a named function versus an equivalent closure 1 million times.

Programming
⏱ 3min ⭐ 90 XP
📊 Advanced

Read Memory Usage Growth Across Repeated Requests

Read a chart of memory usage sampled every 1,000 requests on a long-running PHP worker process, and identify a leak.

Programming
⏱ 3min ⭐ 90 XP
🔍 Advanced

Fix a Stale Reference After foreach

Find the line missing an unset() that causes a later foreach to silently corrupt array data.

Programming
⏱ 5min ⭐ 120 XP
🔍 Advanced

Fix Incorrect Use of self:: for Overridable Behavior

Find the line where self:: should be static:: to support late static binding in a subclass override.

Programming
⏱ 5min ⭐ 120 XP
🧮 Advanced

Write a Generator Function Using yield

Write the PHP generator function readLines($path) that yields each line of a file one at a time instead of returning a full array.

Programming
⏱ 3min ⭐ 90 XP
🧮 Advanced

Write a Late Static Binding Factory Method

Write the static method create() on a base class that returns 'new static()' so subclasses get an instance of themselves, not the base class.

Programming
⏱ 3min ⭐ 90 XP
🔢 Advanced

Order Exception Propagation Up the Call Stack

A deeply nested function throws an exception with no local catch block. Order what happens as it propagates.

Programming
⏱ 4min ⭐ 100 XP
🔢 Advanced

Order Resolving a Trait Method Conflict

Two traits used in the same class both define a method with the same name. Order the steps to resolve the conflict.

Programming
⏱ 4min ⭐ 100 XP
🔢 Advanced

Order a Generator Function's Execution

Order what happens when a generator function using yield is iterated with foreach.

Programming
⏱ 4min ⭐ 100 XP
🔢 Advanced

Order Magic Method Calls for an Undefined Property

Order what happens when code accesses $obj->missingProperty on an object that defines __get().

Programming
⏱ 4min ⭐ 100 XP
🔍 Advanced

Fix Middleware Registered on the Wrong Kernel Array

Find the line where route-specific middleware was mistakenly added to the global middleware stack.

Programming
⏱ 5min ⭐ 120 XP
🔍 Advanced

Fix a Queued Job With No Retry Limit

Find the missing property causing a failing job to retry forever and flood the queue.

Programming
⏱ 5min ⭐ 120 XP
🔍 Advanced

Fix Auth::user() Used Inside a Queued Job

Find the line that will break once the job runs asynchronously on a worker process.

Programming
⏱ 5min ⭐ 120 XP
🔍 Advanced

Fix an Unauthorized Update Missing a Policy Check

Find the missing authorization check that lets any logged-in user edit any post.

Programming
⏱ 5min ⭐ 120 XP
🧮 Advanced

Write a chunk() Query for a Large Table

Write the Eloquent expression that processes all users in batches of 500 to avoid memory issues.

Programming
⏱ 3min ⭐ 90 XP
🧮 Advanced

Write a withCount Query With a Constraint

Write the Eloquent expression that counts only approved comments per post, using a constrained withCount.

Programming
⏱ 3min ⭐ 90 XP
🧮 Advanced

Use Route Model Binding With a Custom Key

Write the Eloquent model method that makes route model binding resolve Post by 'slug' instead of 'id'.

Programming
⏱ 3min ⭐ 90 XP
📊 Advanced

Session Driver Comparison: File vs Redis

Read a chart comparing average session read/write latency between the file and Redis drivers.

Programming
⏱ 3min ⭐ 90 XP
📊 Advanced

Read Error Rate Around a Release

Read a line chart of application error rate across a release window and identify the regression point.

Programming
⏱ 3min ⭐ 90 XP
💻 Advanced

Cache the Configuration for Production

Type the command that combines all config files into a single cached file for faster boot time.

Programming
⏱ 3min ⭐ 80 XP
💻 Advanced

Generate an Event Listener Bound to an Event

Type the command to generate a SendShipmentNotification listener already wired to the OrderShipped event.

Programming
⏱ 3min ⭐ 80 XP
🌳 Advanced

Service Container Binding Purpose

Pick the correct description of what the service container's bind() method does.

Programming
⏱ 3min ⭐ 70 XP
🌳 Advanced

Facades vs Direct Class Usage

Pick the accurate statement about Laravel facades.

Programming
⏱ 3min ⭐ 70 XP
🌳 Advanced

Policies vs Gates

Pick the correct distinction between an authorization Policy and a Gate.

Programming
⏱ 3min ⭐ 70 XP
📊 Advanced

Compare Memory Usage: get() vs chunk()

Read a chart comparing peak memory usage when processing a large table with get() versus chunk().

Programming
⏱ 3min ⭐ 90 XP
📊 Advanced

Load Test: Requests per Second by Endpoint

Read a chart of sustained requests/sec across endpoints under load testing and find the bottleneck.

Programming
⏱ 3min ⭐ 90 XP
🔢 Advanced

Order Eloquent Model Event Firing Sequence (Create)

When a new Eloquent model is saved for the first time, several model events fire. Put them in firing order.

Programming
⏱ 4min ⭐ 100 XP
🔢 Advanced

Order the Middleware Execution Pipeline

Middleware runs in layers. Put these layers in the order they wrap an incoming request.

Programming
⏱ 4min ⭐ 100 XP
🔢 Advanced

Order Route Caching for Production

Order the deployment steps that ensure routes are cached correctly after a code change.

Programming
⏱ 4min ⭐ 100 XP
🔢 Advanced

Order Cache Tag Usage in Laravel

Order the steps for caching and later invalidating tagged cache entries for a Product.

Programming
⏱ 4min ⭐ 100 XP
🔢 Advanced

Order a Zero-Downtime Deployment Checklist

Order the standard steps for deploying a Laravel app update without breaking active users.

Programming
⏱ 4min ⭐ 100 XP