Programski jezik Haskell predstavnik je:
Haskell test

Quiz
•
Computers
•
12th Grade
•
Medium
Драгана Бакоч
Used 11+ times
FREE Resource
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Similar Resources on Quizizz
10 questions
Programação em C

Quiz
•
10th - 12th Grade
15 questions
Osnove elektrotehnike

Quiz
•
9th - 12th Grade
10 questions
Advanced Java Study Guide

Quiz
•
11th - 12th Grade
10 questions
Variables and Data Types

Quiz
•
10th - 12th Grade
12 questions
Računalo i njegovi sastavni dijelovi

Quiz
•
12th Grade
12 questions
Java Strings

Quiz
•
9th - 12th Grade
10 questions
Lokalne mreže

Quiz
•
6th - 12th Grade
11 questions
Baze podataka

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
10 questions
Chains by Laurie Halse Anderson Chapters 1-3 Quiz

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
15 questions
Character Analysis

Quiz
•
4th Grade
12 questions
Multiplying Fractions

Quiz
•
6th Grade
30 questions
Biology Regents Review #1

Quiz
•
9th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade
Discover more resources for Computers
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
14 questions
Attributes of Linear Functions

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University
50 questions
Biology Regents Review 2: Ecology

Quiz
•
9th - 12th Grade
20 questions
Investing

Quiz
•
9th - 12th Grade