NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

#!/bin/bash

echo "Witaj w teście na inteligencję!"
echo "Odpowiedz na 10 pytań, wybierając odpowiedź a, b, c lub d."

# Inicjalizacja sumy punktów
suma_punktow=0

# Pytanie 1
echo "Pytanie 1: Co oznacza skrót 'CPU'?"
echo "a) Central Processing Unit"
echo "b) Computer Processing Unit"
echo "c) Central Processor Unit"
echo "d) Centralized Processing Unit"
read odpowiedz1
case "$odpowiedz1" in
"a") suma_punktow=$((suma_punktow+1)) ;; # Dodaj 1 punkt za poprawną odpowiedź
esac

# Pytanie 2
echo "Pytanie 2: Ile wynosi pierwiastek kwadratowy z 144?"
echo "a) 10"
echo "b) 12"
echo "c) 14"
echo "d) 16"
read odpowiedz2
case "$odpowiedz2" in
"b") suma_punktow=$((suma_punktow+1)) ;; # Dodaj 1 punkt za poprawną odpowiedź
esac

# Pytanie 3
echo "Pytanie 3: Który z elementów chemicznych ma symbol 'O'?"
echo "a) Tlen"
echo "b) Wodór"
echo "c) Sód"
echo "d) Ruten"
read odpowiedz3
case "$odpowiedz3" in
"a") suma_punktow=$((suma_punktow+1)) ;; # Dodaj 1 punkt za poprawną odpowiedź
esac

# Pytanie 4
echo "Pytanie 4: Kto napisał 'Romeo i Julia'?"
echo "a) Charles Dickens"
echo "b) Jane Austen"
echo "c) William Shakespeare"
echo "d) Fyodor Dostoevsky"
read odpowiedz4
case "$odpowiedz4" in
"c") suma_punktow=$((suma_punktow+1)) ;; # Dodaj 1 punkt za poprawną odpowiedź
esac

# Pytanie 5
echo "Pytanie 5: Które z poniższych to państwo w Ameryce Południowej?"
echo "a) Nigeria"
echo "b) Brazylia"
echo "c) Indie"
echo "d) Australia"
read odpowiedz5
case "$odpowiedz5" in
"b") suma_punktow=$((suma_punktow+1)) ;; # Dodaj 1 punkt za poprawną odpowiedź
esac

# Pytanie 6
echo "Pytanie 6: Które z poniższych zwierząt jest ssakiem?"
echo "a) Krokodyl"
echo "b) Orka"
echo "c) Rekin"
echo "d) Kangur"
read odpowiedz6
case "$odpowiedz6" in
"d") suma_punktow=$((suma_punktow+1)) ;; # Dodaj 1 punkt za poprawną odpowiedź
esac

# Pytanie 7
echo "Pytanie 7: Które z poniższych to warzywo?"
echo "a) Pomidor"
echo "b) Marchewka"
echo "c) Arbuz"
echo "d) Jabłko"
read odpowiedz7
case "$odpowiedz7" in
"b") suma_punktow=$((suma_punktow+1)) ;; # Dodaj 1 punkt za poprawną odpowiedź
esac

# Pytanie 8
echo "Pytanie 8: Który z poniższych kolorów jest najjaśniejszy?"
echo "a) Czerwony"
echo "b) Zielony"
echo "c) Żółty"
echo "d) Niebieski"
read odpowiedz8
case "$odpowiedz8" in
"c") suma_punktow=$((suma_punktow+1)) ;; # Dodaj 1 punkt za poprawną odpowiedź
esac

# Pytanie 9
echo "Pytanie 9: Ile małych pączków było wokół dużego pączka w słynnej łamigłówce?"
echo "a) 4"
echo "b) 5"
echo "c) 6"
echo "d) 7"
read odpowiedz9
case "$odpowiedz9" in
"b") suma_punktow=$((suma_punktow+1)) ;; # Dodaj 1 punkt za poprawną odpowiedź
esac

# Pytanie 10
echo "Pytanie 10: Która planeta jest znana jako 'Czerwona Planeta'?"
echo "a) Wenus"
echo "b) Mars"
echo "c) Jowisz"
echo "d) Saturn"
read odpowiedz10
case "$odpowiedz10" in
"b") suma_punktow=$((suma_punktow+1)) ;; # Dodaj 1 punkt za poprawną odpowiedź
esac

# Wyświetl wyniki
echo "Dziękujemy za udział w teście!"
echo "Twój wynik to: $suma_punktow/10 punktów."

# Określ opinię o IQ
if [ "$suma_punktow" -ge 8 ]; then
echo "Gratulacje! Wydaje się, że masz wysokie IQ."
elif [ "$suma_punktow" -ge 5 ]; then
echo "Masz średnie IQ."
else
echo "Twój wynik wskazuje na niższe IQ. Nie martw się, inteligencja ma różne aspekty!"
fi
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.