Linguaggio C - Basi

Quiz
•
Computers
•
11th - 12th Grade
•
Hard

Michele Dusi
Used 40+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Qual è il significato del seguente codice?
Dichiara una funzione di tipo stringa con due parametri.
Dichiara due variabili, una contenente una stringa e una un carattere.
Inizializza due stringhe chiamate "name" e "iniziale".
Moltiplica il nome per il carattere (char) iniziale.
Inizializza due variabili puntatore a carattere.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual è il significato di questo codice?
Dichiara una variabile di tipo intero.
Inizializza una variabile di tipo numerico.
Allunga un intero al massimo di 2048 byte.
Imposta la dimensione massima del programma.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Osservando il codice contenuto nell'immagine, cosa possiamo affermare con certezza?
La funzione presenta almeno un errore di sintassi.
La funzione effettua un casting.
La funzione restituisce sempre la somma dei numeri passati come parametro.
La procedura ha un parametro void non visibile.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Osserva il codice contenuto nell'immagine. Che cosa possiamo affermare con certezza?
Ogni parametro può essere di tipo int oppure di tipo long.
La funzione non restituisce alcun valore.
L'operatore "+" effettua una somma fra i due parametri, che poi viene convertita ad intero.
I due parametri vengono convertiti a tipo int, poi la loro somma viene restituita.
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Quali di questi sono tipi di variabile validi in linguaggio C?
short int
boolean
int*
unsigned long int
double
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Osserva il seguente codice. Se eseguito, che cosa viene stampato?
Tutti i numeri interi da 50 a 0 (compresi).
Tutti i numeri interi da 0 a 50 (compresi).
Tutti i numeri interi da 50 a 1 (compresi).
Tutti i numeri interi da 49 a 0 (compresi).
Il codice contiene un errore, perciò non compilerebbe.
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Eseguendo il seguente codice, che cosa viene stampato a schermo?
64
99
100
128
1
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Algoritmo

Quiz
•
9th Grade - University
15 questions
Quiz sull'Architettura del Calcolatore

Quiz
•
9th Grade - University
15 questions
java servlet

Quiz
•
12th Grade
7 questions
Linguaggio C - Ricorsione

Quiz
•
11th - 12th Grade
14 questions
Funzioni Python

Quiz
•
12th Grade
12 questions
4B_java_Novembre2021

Quiz
•
11th Grade
15 questions
OOP in java

Quiz
•
12th Grade
6 questions
ORD - STEM Special Edition Lezione 1

Quiz
•
1st Grade - Professio...
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Chaffey

Quiz
•
9th - 12th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Lab Safety and Lab Equipment

Quiz
•
9th - 12th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
12 questions
Macromolecules

Lesson
•
9th - 12th Grade
12 questions
Classifying Polys - 1.1

Quiz
•
10th - 12th Grade
20 questions
1.1 (b) Add / Sub/ Multiply Polynomials

Quiz
•
12th Grade