Haskell test
Quiz
•
Computers
•
12th Grade
•
Practice Problem
•
Medium
Драгана Бакоч
Used 11+ times
FREE Resource
Enhance your content in a minute
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Programski jezik Haskell predstavnik je:
Logičke paradigme
Funkcionalne paradigme
Imperativne paradigme
Ništa od navedenog
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
saberi :: Int->Int->Int
Navedeni deo koda predstavlja:
Definiciju funkcije saberi
Deklaraciju funkcije saberi
Ništa od navedenog
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Da li možemo da napišemo ovakav "program" u Haskellu:
main= do print(2+3)
Da
Ne
Možemo, ali biće prijavljena sintaksna greška
Nema grešaka, ali program se neće izvršiti
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
saberi :: Integer -> Integer -> Integer
saberi x y = x + y
Da li je u Haskellu dozvoljeno da se prva linija koda izostavi?
Ne
Da
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
oduzmi x y = x - y
Šta mogu biti ulazni podaci za gore navedenu funkciju?
Bilo šta
Bilo šta što predstavlja broj
Samo celi brojevi
Funkcija mora imati deklaraciju; kod je neispravan
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Koja od if naredbi je ispravno napisana (promenljiva "a" je broj)
1) if a>0 then True
2) if a>0 then True else 0
3) if a>0 then True else False
4) if a>0 then true else false
1)
2)
3)
4)
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Koji od sledećih operatora se koristi u Haskellu da se proveri da nešto "nije jednako tj različito je"
=/=
/=
\=
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Avaliação Pensamento Computacional - Prático
Quiz
•
1st Grade - Professio...
16 questions
Se liga - 1 - 6° anos
Quiz
•
6th Grade - University
10 questions
Bài 8- CĐ F-TH10
Quiz
•
9th - 12th Grade
10 questions
Diagnóstico - Programação Iniciação
Quiz
•
9th - 12th Grade
16 questions
kompresja i inne szyfry
Quiz
•
9th - 12th Grade
11 questions
Computação Gráfica - O que eu preciso ter para ser design?
Quiz
•
12th Grade
12 questions
Vyhledávání na internetu
Quiz
•
9th - 12th Grade
15 questions
ROBÓTICA-Joystik
Quiz
•
12th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
Discover more resources for Computers
15 questions
Internet Vocabulary Notebook Check #2 - CTEA(2024)
Quiz
•
12th Grade
11 questions
Internet Terms Vocabulary- Notebook Check #1- CTEA
Quiz
•
12th Grade
50 questions
Money Matters Fall 2025 Final Exam — Worksheet Questions
Quiz
•
12th Grade
47 questions
CSF Final Exam Practice
Quiz
•
9th - 12th Grade
