Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

C++ Beginner Quiz

Rating
-
Sold
-
Pages
3
Grade
A+
Uploaded on
21-08-2021
Written in
2020/2021

This Document includes quiz questions about basic C++ This would be a great practice set

Institution
Course

Content preview

Programming Fundamentals
Assignment 3
Due Date: 12 Jan 2021.
Total marks 25
Note: Do not copy code from internet or any other source even across the sections. I will check
the plagiarism of the assignment and it will capture the cheated code from internet or copied from
class fellows. Those who will try they will get some marks for their effort even you do not get
perfect solution. Copied & Shared work will score in negative grading. Assignment should be in
visual Studio. You will send the entire project in zipped file. After submission, no excuse will be
entertained. No assignment will be accepted after due date.
Understanding the Question is part of Assignment. No discussion will be allowed in Class
or via Email. Do it yourself.

Q1. The ancient Greeks classified numbers geometrically. For example, a number was called
“triangular” if that number of pebbles could be arranged in a symmetric triangle as
shown in the figure below. The first ten triangular numbers are 1, 3, 6, 10, 15, 21, 28, 36,
and 45. Write a program that takes as input a number N and prints whether it is
triangular or not. Marks:5




Q2.: Input 10 numbers from the user and print the sum of all numbers which are greater than
10 and less than 1000. marks:2

Q3.Write a program in C++ to display the number in reverse order. You are required to use
For loop only. marks:3

Q4. Display * like picture given below via C++ program. Rows should be taken from user
marks:5

Output should look like this

Written for

Institution
Course

Document information

Uploaded on
August 21, 2021
Number of pages
3
Written in
2020/2021
Type
Exam (elaborations)
Contains
Answers

Subjects

$3.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
ahmadcrisp

Also available in package deal

Get to know the seller

Seller avatar
ahmadcrisp University of Management and Technology
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
4 year
Number of followers
0
Documents
4
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions