SQL HTML PHP Free demo
WIRTUALNY KOMPUTER EGZAMINACYJNY

Try the platform for free

Two exercises from a real INF.03 course: working code emulators, no registration, no personal data.

1
SQL Basics · ★ Easy

Show electronic products

You have a produkty table with columns: id, nazwa, kategoria, cena.

Task: Show the nazwa and cena columns of all products in the 'Elektronika' category, sorted from the most to the least expensive.

Hint: use WHERE kategoria = 'Elektronika' and ORDER BY cena DESC
zapytanie.sql
Result
Run a query to see the results.
Initialising sql.js…
2
HTML Basics · ★ Easy

Build a page with a product list

Task: Complete the HTML code below so that the page contains:

  • An <h1> heading with the text „Moje produkty”
  • A <ul> list with at least 3 <li> items
  • A <p> paragraph with any description

Changes appear live in the preview panel.

strona.html
localhost/podglad
3
PHP Basics · ★ Easy

Print numbers with a PHP loop

Task: Write a loop that prints numbers from 1 to 5, each in its own <p> paragraph (e.g. <p>1</p>).

Hint: use for ($i = 1; $i <= 5; $i++) and echo "<p>$i</p>";

Want more exercises?

Full INF.03 courses with hundreds of exercises, quizzes, exam simulation and certificates. 12 months of access, one-time payment.