Haskell test

Haskell test

12th Grade

12 Qs

quiz-placeholder

Similar activities

Wstęp do programowania

Wstęp do programowania

9th - 12th Grade

10 Qs

A Evolução da Arquitetura Computacional

A Evolução da Arquitetura Computacional

11th Grade - University

13 Qs

Comprensión Lectora

Comprensión Lectora

1st - 12th Grade

10 Qs

Ulangan harian 1 Algoritma dan Pemrograman

Ulangan harian 1 Algoritma dan Pemrograman

12th Grade - University

13 Qs

Informática: Quem sabe mais?

Informática: Quem sabe mais?

KG - Professional Development

12 Qs

Quiz sobre Contos

Quiz sobre Contos

12th Grade

10 Qs

1ª Recuperação - 3° Trim. - Pensamento Computacional - 9º ano

1ª Recuperação - 3° Trim. - Pensamento Computacional - 9º ano

9th Grade - University

10 Qs

Attacchi informatici

Attacchi informatici

9th - 12th Grade

10 Qs

Haskell test

Haskell test

Assessment

Quiz

Computers

12th Grade

Practice Problem

Medium

Created by

Драгана Бакоч

Used 11+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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"

=/=

/=

\=

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?