ITS 250 - Project 2 Deck

Ace your homework & exams now with Quizwiz!

<=

This operator checks if the value of the left operand is less than or equal to the value of the right operand. If yes, then the condition is true.

!=

This operator is used to determine whether or not the values of two operands are equal. If not, then the condition becomes true.

variable

This term refers to a computer memory location which is used to store a specific value in a computer program.

string

This term refers to a sequence of characters.

True

True or False: Before assigning value to a variable, the variable must be created/declared using the "int" command.

False

True or False: Computer programs are rarely used for mathematical calculations.

True

True or False: Using a reserved keyword when naming a variable will result in a syntax error.

data type

A ___ ___ is processed by a computer program and can be numeric, alphanumeric, decimal, etc.

operator

An _____ is a symbol that tells the compiler or interpreter to perform a specific mathematical, relational, or logical operation and produce the final result.

declared

In Java programming language, a variable must be _____ before it is used in a program.

char

When using C or Java, this command is used to specify a character data type.

int

When using C or Java, this command is used to specify integer data.

d) #

Which of the following characters would typically not be allowed in a variable name? a) P b) 6 c) z d) #

b) run

Which of the following is not a reserved keyword in Java? a) goto b) run c) import d) boolean

a) <>

Which of the following is not a valid relational operator? a) <> b) == c) != d) >=

b) =

Which of the following is not an arithmetic operator? a) + b) = c) % d) /


Related study sets

A&P - JOINTS - STRUCTURAL CLASSIFICATION

View Set

NSG 330 Ch 44- Digestive & GI Treatment Modalities

View Set

Marketing Exam #1 - Chapter 1: What is Marketing

View Set

JS 3: 'For' Loops (and arrays) in JS (CodeAcademy)

View Set

Chapter 15: Schizophrenia and Other Psychotic Disorders NCLEX

View Set

Struck-By & Caught-Between Accidents

View Set

Basic Concepts of Sensation and Perception

View Set

Quiz Chapter 6 Thinking and Intelligence (A2)

View Set