Beginning C Programming

Flashcard
•
Computers
•
University
•
Hard
Quizizz Content
FREE Resource
Student preview

23 questions
Show all answers
1.
FLASHCARD QUESTION
Front
How will you print \n on the screen? Options: printf("\n");, echo "\\n";, printf('\n');, printf("\\n");
Back
printf("\\n");
2.
FLASHCARD QUESTION
Front
We want to round off x, a float, to an int value, The correct way to do is: y = (int)(x + 0.5), y = int(x + 0.5), y = (int)x + 0.5, y = (int)((int)x + 0.5)
Back
y = (int)(x + 0.5)
3.
FLASHCARD QUESTION
Front
What punctuation is used to indicate the beginning and end of code blocks?
Back
{ }
4.
FLASHCARD QUESTION
Front
Which of the following is not a correct variable type? float, real, int, double
Back
real
5.
FLASHCARD QUESTION
Front
Which of the following is the correct operator to compare two variables? Options: :=, =, equal, ==
Back
==
6.
FLASHCARD QUESTION
Front
Which symbol terminates a C statement?
Back
;
7.
FLASHCARD QUESTION
Front
How to comment in C language?
Back
//Comment
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Basic Programming Concepts in C++ Language

Flashcard
•
KG
20 questions
AP CSA unit 1 review

Flashcard
•
11th Grade - University
15 questions
C++ Programming wk 13

Flashcard
•
Professional Development
17 questions
Java Basics

Flashcard
•
12th Grade
17 questions
CS2110 Flashcard 4 Review

Flashcard
•
University
18 questions
Fundamentals of data Structures & Linked list

Flashcard
•
University
18 questions
Basic C++ Programming Questions

Flashcard
•
University
18 questions
pointers in C

Flashcard
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade