JavaScript isn't enabled in your browser, so this file can't be opened. Enable and reload.
CyberChallenge.IT 2018 - Test
Demo of the test for the 2018
edition of CyberChallenge.IT
Additional material for other tests is available at the link
https://cyberchallenge.it/training
Sign in to Google
to save your progress.
Learn more
Question 1
Consider the following incomplete C code snippet:
What would you put in place of ... to have x equal 43?
1 point
c
x can never become 43
!c
x will always be 43
Clear selection
Question 2
Consider the following C code fragment:
What does j contain after executing it?
1 point
7
6
8
It depends on the compiler
Clear selection
Question 3
The above function is equivalent to (the standard) function...:
1 point
memcpy
strcpy
strcat
memset
Clear selection
Question 4
Consider the following data structure:
What is the value of
*(*(table+2)+1)
?
1 point
3
2
5
4
Clear selection
Question 5
What about the C statement int
*p = malloc(sizeof(unsigned int));
?
1 point
type mismatch error
memory allocated correctly, but errors when storing int values in memory
throws runtime error
no issue with the statement
Clear selection
Question 6
Function
min
is supposed to return the minimum integer, from the (non-empty) sequence delimited by p (included) and q (excluded):
What would you put in place of ...?
1 point
*p++
-1
(*p)++
0
Clear selection
Question 7
We are interested in the sum of five numbers. We only know that, if we leave out any one number, the average of the remaining four numbers is 15, 70, 85, 100 or 130.
What is the sum of all five numbers?
1 point
315
385
370
400
430
Clear selection
Question 8
If I eat soup today, then I will eat pizza tomorrow.
Which one of the following statements is equivalent?
1 point
If I eat soup today, then I won’t eat pizza tomorrow
If I eat pizza today, then I will eat soup tomorrow
If I eat pizza tomorrow, then I won’t eat soup today
If I don’t eat pizza today, then I will eat soup tomorrow
If I don’t eat pizza tomorrow, then I won’t eat soup today
Clear selection
Question 9
If FRIEND is coded as HUMJTK, how can CANDLE be written in that code?
1 point
DCQHQK
ESJFME
DEQJQM
EDRIRL
Clear selection
Question 10
Going from point A to B costs 3, from A to C costs 5. Going from B to C costs 5, from B to F costs 7. Going from C to F costs 3. Going from F to D costs 3 and from F to E costs 5.
What is the minimum cost for going from A to E?
1 point
15
13
16
14
Clear selection
Question 11
There is a pole in a lake. Half of the pole is embedded in the mud at the bottom of the pond, another one third is covered by water, and 40cm stand out of the water.
What is the total length of the pole?
1 point
2.4m
1.6m
1.2m
2m
Clear selection
Question 12
Bob has 20 Euro more than Alice; together they have 60 Euro.
Which of the following sentences is true?
1 point
Alice has 20 Euro
Alice and Bob have the same amount of Euro
Alice has 40 Euro
Alice is richer than Bob
Clear selection
Submit
Page 1 of 1
Clear form
This content is neither created nor endorsed by Google.
Report Abuse
-
Terms of Service
-
Privacy Policy
Forms