Programming Characters Quiz Form
Test your knowledge of programming characters with this 10-question quiz. Select the most accurate answer for each question.
Which character is commonly used to denote a single-line comment in Python?
*
#
//
--
/*
In JavaScript, which pair of characters is used to define an array?
*
[]
{}
<>
()
Which character is used to terminate a statement in C, C++, and Java?
*
;
:
.
,
Select all characters that can be used as arithmetic operators in most programming languages.
*
+
-
*
%
&
Which character is used to access members of a structure in C?
*
.
->
::
:
How would you rate your familiarity with regular expression characters (e.g., *, +, ?, .)?
*
1
2
3
4
5
Which of the following is used for string interpolation in modern JavaScript (ES6+)?
*
Backticks (`)
Single quotes (')
Double quotes (")
Curly braces ({})
Match the programming language to its primary comment character:
*
Rows
Comment Character
Python
#
//
--
%
JavaScript
#
//
--
%
Lua
#
//
--
%
MATLAB
#
//
--
%
Which character is used for variable assignment in most programming languages?
*
=
==
:=
<-
Briefly describe a situation where the use of a special programming character helped you solve a problem.
*
Submit Quiz
Should be Empty: