
Συνθήκες
Authored by Miltiadis Katarachias
Computers
1st Grade
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
1. Ποιο είναι το αποτέλεσμα του παρακάτω προγράμματος;
int i = 10;
while (i > 0) {
printf("%d ", i);
i -= 3;
}
1. Ποιο είναι το αποτέλεσμα του παρακάτω προγράμματος;
int i = 10;
while (i > 0) {
printf("%d ", i);
i -= 3;
}
10 9 8 7 6 5 4 3 2 1
10 7 4 1
10 7 4
10 9 8 7
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2. Ποια είναι η έξοδος του παρακάτω προγράμματος;
int i;
for (i = 0; i < 10; i += 2) {
if (i == 6) {
break; }
printf("%d ", i); }
2. Ποια είναι η έξοδος του παρακάτω προγράμματος;
int i;
for (i = 0; i < 10; i += 2) {
if (i == 6) {
break; }
printf("%d ", i); }
0 2 4 6 8
0 2 4
0 2 4 6
0 2 4 8
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3. Ποιο θα είναι το αποτέλεσμα του παρακάτω προγράμματος;
3. Ποιο θα είναι το αποτέλεσμα του παρακάτω προγράμματος;
int i = 1, count = 0;
while (i <= 10) {
if (i % 3 == 0 || i % 4 == 0) {
count++; }
i++; }
printf("Count = %d\n", count);
Count = 5
Count = 4
Count = 2
Count = 6
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4. Ποιο θα είναι το αποτέλεσμα του παρακάτω προγράμματος;
for (int i = 0; i < 5; i++) {
for (int j = i; j < 5; j++) {
printf("*"); }
printf("\n"); }
4. Ποιο θα είναι το αποτέλεσμα του παρακάτω προγράμματος;
for (int i = 0; i < 5; i++) {
for (int j = i; j < 5; j++) {
printf("*"); }
printf("\n"); }
*****
****
***
**
*
*
**
***
****
*****
*****
*****
*****
*****
*****
Κανένα από τα παραπάνω.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5. Τι εκτυπώνει το παρακάτω πρόγραμμα;
int i = 0, sum = 0;
while (i++ < 5) {
sum += (i % 2 == 0); }
5. Τι εκτυπώνει το παρακάτω πρόγραμμα;
int i = 0, sum = 0;
while (i++ < 5) {
sum += (i % 2 == 0); }
1
6
3
2
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
6. Είναι ο παρακάτω κώδικας γραμμένος σωστά για τον έλεγχο της εισαγωγής τιμής?
int i = 0;
printf("Please give a number between 1-10: ");
do{
scanf("%d", &i);
if (i < 1 || i > 10) {
printf("Invalid input. Please try again: "); }
}while(i > 10 && i < 1);
6. Είναι ο παρακάτω κώδικας γραμμένος σωστά για τον έλεγχο της εισαγωγής τιμής?
int i = 0;
printf("Please give a number between 1-10: ");
do{
scanf("%d", &i);
if (i < 1 || i > 10) {
printf("Invalid input. Please try again: "); }
}while(i > 10 && i < 1);
ΣΩΣΤΌ
ΛΑΘΟΣ
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
7. Ποιο είναι το αποτέλεσμα της παρακάτω έκφρασης αν c = 5;
( c == 5 && !( c > 10 ) ) | | ( c < 3 )
7. Ποιο είναι το αποτέλεσμα της παρακάτω έκφρασης αν c = 5;
( c == 5 && !( c > 10 ) ) | | ( c < 3 )
5
1
0
Σφάλμα μεταγλώττισης
Access all questions and much more by creating a free account
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
Computer vocabulary
Quiz
•
1st - 5th Grade
11 questions
PENTAKSIRAN BAB 2 ASK TINGKATAN 2
Quiz
•
1st - 2nd Grade
10 questions
Scratch - podstawowe wiadomości
Quiz
•
1st Grade
11 questions
What is a computer
Quiz
•
KG - University
8 questions
PROGRAM & APPS
Quiz
•
1st - 3rd Grade
9 questions
Jak dobrze znasz Among Us?
Quiz
•
1st Grade - Professio...
10 questions
Uruchamianie systemu Windows 10 w trybie awaryjnym
Quiz
•
1st - 5th Grade
10 questions
KUIZ VIRTUAL HUNT ICT MBPJ
Quiz
•
1st Grade
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
12 questions
Presidents' Day
Quiz
•
KG - 5th Grade
20 questions
Telling Time to the Hour and Half hour
Quiz
•
1st Grade
10 questions
Exploring Rosa Parks and Black History Month
Interactive video
•
1st - 5th Grade
6 questions
President's Day
Lesson
•
1st Grade
10 questions
Identifying Physical and Chemical Changes
Interactive video
•
1st - 5th Grade
7 questions
Lunar and Chinese New Year for Kids | Bedtime History
Interactive video
•
1st - 12th Grade
10 questions
Presidents Day
Interactive video
•
1st - 5th Grade
15 questions
Making Inferences
Quiz
•
1st - 3rd Grade