kti
20 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

The PDF document provides information about a specific course?

True

The document contains 20 different courses.

False

The file format of the document is .pdf

<p>True</p> Signup and view all the answers

A 'float' variable in Java can store integers without decimals.

<p>False</p> Signup and view all the answers

In Java, a 'bool' variable can store values with three states: true, false, and null.

<p>False</p> Signup and view all the answers

To create a variable in Java, you must specify the type and assign it a value using the = symbol.

<p>True</p> Signup and view all the answers

Assigning a new value to an existing variable in Java will not overwrite the previous value.

<p>False</p> Signup and view all the answers

The 'char' variable in Java can store multiple characters as a string.

<p>False</p> Signup and view all the answers

In Java, the 'int' variable can store both positive and negative whole numbers.

<p>True</p> Signup and view all the answers

Variable names in C# can start with a digit.

<p>False</p> Signup and view all the answers

The final keyword in C# indicates that the variable's value cannot be changed.

<p>True</p> Signup and view all the answers

Identifiers in C# cannot be reserved words like 'if' or 'return'.

<p>True</p> Signup and view all the answers

The + character in C# cannot be used as a mathematical operator for numeric values.

<p>False</p> Signup and view all the answers

The var keyword in C# explicitly specifies the data type of a variable.

<p>False</p> Signup and view all the answers

All variables must have unique names in C#.

<p>True</p> Signup and view all the answers

In C#, variable names are not case sensitive.

<p>False</p> Signup and view all the answers

Identifiers in C# can start with an underscore (_).

<p>True</p> Signup and view all the answers

In C#, you can use reserved words like 'int' or 'bool' as variable names.

<p>False</p> Signup and view all the answers

It is mandatory to assign a value to a variable before using it in C#.

<p>True</p> Signup and view all the answers

Use Quizgecko on...
Browser
Browser