FUNDAMENTALS OF COMPUTER

COMPUTER PROGRAMMING FUNDAMENTALS

WHAT IS PROGRAMMING

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Charles is coding a role-playing game. He has created code that asks a player for their name and assigns it to the “name” variable. Charles assigns the first value for the variable as Player1 until a player inputs their information. What is the term for assigning this value for the “name” variable?
A
Initializing
B
Encoding
C
Declaring
D
Executing
Explanation: 

Detailed explanation-1: -Code tracing is a method in which the programmer uses paper and pencil to hand trace the execution of a program or code segment in order to track the variable values as they change during execution and to determine the output of the code.

Detailed explanation-2: -RAM gives applications a place to store and access data on a short-term basis. It stores the information your computer is actively using so that it can be accessed quickly. The more programs your system is running, the more you’ll need.

Detailed explanation-3: -Sequence is the default control structure; instructions are executed one after another.

Detailed explanation-4: -A boolean expression(named for mathematician George Boole) is an expression that evaluates to either true or false.

There is 1 question to complete.