BASIC C PROGRAMMING

Quiz
•
Computers
•
University
•
Medium
Muhammad Abdullah
Used 233+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a valid C variable name?
int number;
float rate;
int variable_count;
int $main;
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
All keywords in C are in ____________
LowerCase letters
UpperCase letters
CamelCase letters
None of the mentioned
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is true for variable names in C?
They can contain alphanumeric characters as well as special characters
It is not an error to declare a variable to be one of the keywords(like goto, static)
Variable names cannot start with a digit
Variable can be of any length
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a logical operator?
&&
!
||
|
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many keywords are there in C language?
30
31
32
33
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
6. Which of the following cannot be a variable name in C?
volatile
true
friend
export
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to prevent any changes in the variable within a C program?
immutable
mutable
const
volatile
Create a free account and access millions of resources
Similar Resources on Wayground
16 questions
PSC ALM QUIZ

Quiz
•
University
18 questions
Fundamentos de C#

Quiz
•
University
13 questions
C programming-1

Quiz
•
University
16 questions
Arithmetic Types Declare Initialize Relation Logical Ops

Quiz
•
9th Grade - University
10 questions
T_4.2 Identifier, Data Types, Operators & Expressions

Quiz
•
12th Grade - University
15 questions
BASIC C QUIZ

Quiz
•
University
15 questions
C++ data types

Quiz
•
University
15 questions
Data Types & Variables

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

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

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade