Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

1.Same program as addition teaching program

2.But the student must get three questions correctly in a row to pass the test.

3.If the student get 1 question wrong, the counter will be reset to zero.


Code:

import random


print("Welcome to New Academy:")

print("It is a mathematic test. You have to answer 5 questions.")

print("You need to answer 3 questions correctly to pass the test.")

print("If you failed, you need to repeat the test.")


# setup the stop conditions for the program

# generate 5 addition questions

# before that, generate 2 numbers randomly

# compute the summation of the 2 numbers and store it in a variable

# Track how many questions were answered correctly by the student

# if the student got 3 questions and above correctly, 

# congratulate the student and stop the program

# else, repeat the test.


1.Create a program to test the addition (+) skill of students. (0 – 100)

2.The program can automatically generate 5 questions for a student to answer.

3.A student must correct at least 3 questions to pass the test. 

4.If the student failed, he needs to repeat the test.


Code:

import random


print("Welcome to New Academy:")

print("It is a mathematic test. You have to answer 5 questions.")

print("You need to answer 3 questions correctly in a row to pass the test.")


1.Count how many vowels (a, e, I, o, u) in a word.


Code:

import random

import string


word = ""

for i in range(20):

  word += random.choice(string.ascii_lowercase)


print(word)

# write your code here


Can you use if statements or while loops within a function? Illustrate with an example.


Using C# and Visual Studio, design and implement a standalone command-line application that fulfils the following requirements: 1.The user shall be able to enter the following values: a. Gross monthly income (before deductions). b. Estimated monthly tax deducted. c. Estimated monthly expenditures in each of the following categories:

1.3. A retail Shop has a functionality to add item into the stock list. The add item takes a parameter 

the Item to be added on stock. [2]

1.4 A retail shop also has a functionality to calculate total sales that returns double sum of money 

made from all sold items. [2]


using c# and visual studio, design and implement a standalone command-line application that fulfils the following requirements: 1. the user shall be able to enter the following values: a. gross monthly income (before deductions). b. estimated monthly tax deducted. c. estimated monthly expenditures in each of the following categories: i. groceries ii. water and lights

Give a detailed account on the relationship between logical and physical design

Your given with N number of coordinates and you have to create a polygon such that they will make a polygon with maximum area


What is a module namespace? How is it useful?


LATEST TUTORIALS
APPROVED BY CLIENTS