PROGRAMMING- final quizzes

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

This principle is used to hide the internal working of an application.

Abstraction

It is a method which enables the retrieval of values hidden by scopes.

Accessors

Pointers are used to point to ___________ in the memory.

Address

It is created to initialize operations for the class upon declaration.

Constructor

Accessors are prefixed with "set" in their function name.

False

Actual values are assigned with the pointers which are done by appending an ampersand, the address of operator, before the variable name.

False

An array can contain only one value of data type.

False

Does counting problem means that the values of given array is being arranged.

False

Due to the advent of the recent high-level programming languages like Java, C# and Visual Basic.NET, C++ are also considered to be a mid-level programming language.

False

Function parameters are pointer.

False

Functions inside of an object is called Properties [Class].

False

In Low-level programming languages, developers are given indirect access to the memory of the computer, particularly the random-access memory.

False

In the discussion, the allocated size for a bool data type is 32 bits.

False

Is it possible for a constructor to have a same number of parameters?

False

It limits the access to the properties and methods under it to the class itself and to all classes that inherit it is called private scope.

False

References are used in function's parameters that store addresses in the memory?

False

Statements found inside of the curly braces are called Code Blocked.

False

The first personal computer created using Object-Oriented Programming is PC DOS by IBM.

False

There are seven programming languages that are categorized in terms of complexity.

False

There are six (6) principles of C++.

False

Variables are containers that are preceded with an ampersand.

False

We used FOR loop to get user output.

False

It is a separate code block that performs a specific task.

Function

It is the equivalent of the DECISION symbol of Flowcharts in Pseudocodes.

IF

It is the classification of Technical Work Items for "all user entries".

INPUT

This integer dictates what element of array is being process.

Index

Variables defined within a code block is called ____________ variables.

Local

It is used to itemize the input values of the function.

Parameter

It dictates the maximum number of values stored by an array.

Size

A problem wherein the values of given array is being arranged.

Sorting

A group of statements within a code block is called body of the function.

True

Accessor is a method which enables the retrieval of values hidden by scopes.

True

Direction : True or FalseChanges done to the value of the reference will change the value of the variable it points to.

True

Header files are separate C++ files which contain supplementary codes for the application.

True

In 1967, the practice of Object-Oriented Programming started.

True

In C++, the abstract representation of objects is called class.

True

It is possible to create multiple pointers pointing to the same variable.

True

Mutator's main purpose is to store values in hidden properties.

True

Parameter is a component of the function which itemizes the input values of the function.

True

References are non-constant containers that may only be assigned a value once.

True

Smalltalk was the Object-Oriented Programming Language built for Dynabook.

True

The main function serves as an entry point of any C++ application.

True

The original C is a low-level programming language.

True

The return EXIT_SUCCESS statement is used for closing remarks.

True

variableName an alias used to remark an array.

True

This is the minimum value for intdata type.

a. -2,147,483,648

What is the allocated size of a 3D float array with size 2, 4, 8?

a. 2,048 bits

These are declared variables that are never used in the source code.

a. Anonymous Variables

It is a small script that uses the built-in terminal commands

a. Bash Script

These are data types that are numerical in nature because C++ stores them as zero (0) or zero (1), internally.

a. Characters

It is a series of programming statements that are grouped together.

a. Code Block

It is the result of an incorrect action or operation.

a. Exception

It is the part of Visual Studio Code where additional programming support and miscellaneous add-ons are managed.

a. Extensions

It is the part of the computer that processes all graphical outputs.

a. Graphics Processing Unit

These are conditionals that are only executed when the condition-under-check succeeds.

a. If

It is the version of Shell that uses the alias ksh.

a. Korn Shell

It is a symbol of Flowcharting used to connect two or more symbols in the same page.

a. On-page Connector

It is the main software where we develop and run our software application.

a. Operating System

It is the classification of Technical Work Items for "to add the numbers stores in a variable".

a. PROCESS

Is the given looping statement syntactically correct? while(1);

a. True

if (1) { cout << endl; }

a. True

It serves as an entry point of any C++ application.

a. int main( )

This is the minimum value for unsigned long data type.

b. 0

This is the maximum value for int data type.

b. 2,147,483,647

What is the allocated size of a 3D int array with size 10, 5 and 6 respectively?

b. 9,600 bits

It is a special lightweight software that converts our source code to computer executables.

b. Compiler

Is the given looping statement fundamentally correct? while(1);

b. False

This is a part of a function that passes value into the function.

b. Parameter

Changes done to the value of the _________ will change the value of the variable it points to.

b. Pointer/Reference

The &symbol is used to retrieve the address of ______________.

b. Pointer/Variable

These are variables in C++ that can manipulate the values of the address it points to without accessing the address itself.

b. Pointers

These are data types that do not have any other components like properties and internal functions.

b. Primitive Data Types

It is a data type where the function shall return as its execution.

b. Return Type

What is the allocated size of a bool array with size 50?

c. 100 bits

In the discussion, what is the allocated size for an int data type?

c. 32 bits

It is a free and public web-based repository that allows distributed version control and source control management tool.

c. Git

These are undeclared variables used by the developer.

c. Implicit Variables

It informs the application that the function shall not return any data.

c. Void/Void Return Type

This is the minimum value for long data type.

d. -9,223,372,036,854,775,807

It is the period or time when computers start to emerge.

d. 3,000 B.C.

This is the maximum value for signed short data type.

d. 32,767

It is a separate C++ file which contains supplementary codes for applications.

d. Header Files

It is the preferred compiler for C++ in Windows x86 architecture.

d. Minimalist GNU for Windows

What is the allocated size of a 3D char array with size 12, 5 and 5 respectively?

d. None of the choices

It is the classification of Technical Work Items for "all displayed information".

d. OUTPUT

This is a part of a function that indicates the final value of the function.

d. Return Type

int a[2] = { 1, 2 };

d. The statement will run correctly.


Ensembles d'études connexes

Macroeconomics - Chapter 9: Long-Run Economic Growth

View Set

SEJPME II - Introduction To Joint Fundamentals

View Set

Team Quizzes (Chapters 14, 16, 17, 18, 19, 20)

View Set

Principles of Macroeconomics - Ch. 12-15

View Set

Chapter 1 - Reading a Poem, Chapter 2 - Listening to a Voice, Chapter 3 - Words, Chapter 4 - Saying and Suggesting, Chapter 5 - Imagery, Chapter 6 - Figures of Speech, Chapter 9 - Rhythm, Chapter 8 - Sound, Chapter 10 - Closed Form, The Sonnet, Other...

View Set

3.14.3 Cooling Practice Questions

View Set

Chapter 22: Drug Therapy for Tuberculosis and Mycobacterium avium Complex Disease

View Set