Answered step by step
Verified Expert Solution
Question
1 Approved Answer
SECTION A-TWO QUESTIONS COMPULSORY QUESTION 1 A. Define the following computer programming terms: Program, Programming, Pseudocode, Debugging, and an Algorithm. B. Write a C++
SECTION A-TWO QUESTIONS COMPULSORY QUESTION 1 A. Define the following computer programming terms: Program, Programming, Pseudocode, Debugging, and an Algorithm. B. Write a C++ Program that will print the name of your top five (5), e programming languages on five (5) separate lines using favorite a single cout statement. C. Write the C++ line of code that computes and displays the: 1. Remainder of 7 divided by 3 2. Square root of 25 3. Result of raising 2 to the 4. Absolute value of -8 power r 3 5. ASCII Code for the character 'H' D. Write a c++ program that has the following character variables: first, middle, and last. Store your initials in these variables and then display them on the screen. Display the initials on a single line with a tab-space in between each initial. [20 MARKS] [5] [5] [5] [5] QUESTION 2 [20 MARKS] A. Declare the variables p, i, j, k on a single line using one data type, int and only the variable p should be a pointer variable. B. What is the output of the following program? [4] [3]
Step by Step Solution
★★★★★
3.46 Rating (159 Votes )
There are 3 Steps involved in it
Step: 1
A Definitions Program A program is a set of instructions that tells a computer what to do to achieve a specific task or solve a problem It consists of ...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started