Fundamentals of C++ Programming: Variables, Functions, Control Structures, and Object-Oriented Concepts

Introduction to fundamental C++ programming concepts and techniques.

Benjamin Fisher
Contributor
4.1
49
5 months ago
Preview (2 of 4 Pages)
100%
Purchase to unlock

Page 1

Fundamentals of C++ Programming: Variables, Functions, Control Structures, and Object-Oriented Concepts - Page 1 preview image

Loading page image...

Fundamentals of C++ Programming: Variables, Functions, Control Structures,and Object-Oriented Concepts1.(TCO 11) Which of the following is false?(Points : 4)All elements of the array have the same data type.All elements in anarray have the same name.All elements in an array have the same subscript.The first element of the array has a subscript of zero.2.(TCO 7) Typically, the first item in defining a function is _____.(Points : 4)an opencurly brace “{“passing an argumentpassing the functionnaming the function3.(TCO 7) What is a variable's scope?(Points : 4)The length of time the variable is in existenceDetermines who can see and access thevariableIt is the length of time the variable is in existence, AND determines who can see and access thevariable.None of these4.(TCO 5) Float and double variables should not be used _____.(Points : 4)as counterstoperform mathematical calculationsas approximate representations of decimal numbersfor applications when precision is required

Page 2

Fundamentals of C++ Programming: Variables, Functions, Control Structures, and Object-Oriented Concepts - Page 2 preview image

Loading page image...

Preview Mode

This document has 4 pages. Sign in to access the full document!

Study Now!

XY-Copilot AI
Unlimited Access
Secure Payment
Instant Access
24/7 Support
Document Chat

Document Details

Related Documents

View all