Make a program that will input type of network provider. A – for Smart and Display “SMART
USER”. B- for Globe Display “GLOBE USER” and C-for Sun Display “SUN USER”. Your program
will be terminated when you input Z.
Make a program that will input age,
Check… age<=20 Display “Young”
Age>=21 Display “Adult”
Your program will be terminated if you input zero in age.
The factorial of an integer n, written n!, is simply the product of all the integers from 1 to n. For
example 5! = 1*2*3*4*5 = 120. Write a program to calculate the factorial of integers from 1 to n
where n is taken from the user. What is the maximum value of factorial that you can
calculate for int data type? Is there any difference between the maximum value of factorial for
unsigned and signed int?
Given a string, an integer position, and an integer length, all on separate lines, replace choiceLen number of characters with "(removed)" starting at that position in the string. Then, output the result.
Ex: If the input is:
Fuzzy bear
3
4
the output is:
Fuz(removed)ear
Create a program that will ask a user to enter a number. Depending on the value that the user has entered the program will do the following:
*If the user has entered the number 0, the program will display the first 50 multiples of 4.
*If the user has entered a negative number, the program will display all odd numbers between 20 and 80.
*If the user has entered a number between 1 and 10 (inclusive of the 2), the program will dsiplay all even numbers from 1 to 500.
*If the user has entered any other number, the program will display the world "Hello" n number of times where n's value will depend on the number the user has entered.
How to develop model in python?
Make a program that will input type of accommodation room. A-for first class, B-for second
class. Charge as follows : first class=800.00 and second class = 650.00. Your program will be
terminated if you input C in the accommodation room type.
Write short note on following:
a) How to create One-dimensional array?
b) How to identify datatype for numpy array?
Multiply 8 with 4, and print the result.
You are recently hired by BKJob as a Trainee Developer under the Mentorship program. You are
deployed with Team Edu as your start.
Team Edu is currently working on a Project that involves Object Oriented Programming skills; hence,
the team leader has assigned you the task to develop a report comprising of the following:
• Examine the object-oriented programming paradigm characteristics and develop a professionally
formatted report that would include these characteristics (i.e., Encapsulation, polymorphism,
constructors/destructors, sub-objects, abstract/concrete, interface, method, redefinition,
generics/templates, containers, etc. Also include the information about class relationships like
generalization/Inheritance, realization, dependency, aggregation, composition, etc.
• Determine the design patterns from each of the creational, structural and behavioral pattern types
• Analyze the relationship between the OOP paradigm and the design patterns