0% found this document useful (0 votes)
654 views

ICpEP CpE Challenge Programming

Welcome! You've logged in successfully. Do you want to login? (y/n): n Enter password: icpep Enter password: icpe Enter password: icpe Access Terminated!
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
654 views

ICpEP CpE Challenge Programming

Welcome! You've logged in successfully. Do you want to login? (y/n): n Enter password: icpep Enter password: icpe Enter password: icpe Access Terminated!
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

ICpEP CpE Challenge

(Programming Questionnaires)

1. BACKGROUND:
A waste management unit is looking for a developer who can develop system app that
can segregate the waste in the area. Let a string be the waste and the characters as the
classifications.

SPECIFICATION:
The input is composed of upper case, lower case, special characters, integers, and
spaces. The system will segregate and count the number of upper case, lower case, special
characters, integers and spaces. Another feature of it is that it automatically gets the sum of the
integers in the input.

Sample Input: Sample Output:


ABde123*_ 67 Input is: ABde123*_ 67
No. of Lower Case: 2
No. of Upper Case: 2
No. of Integer: 3
No. of Special Characters: 2
No. of Spaces: 1
Sum of Integers: 19
2. BACKGROUND:
Fibonacci sequence.

SPECIFICATIONS:

The input will be the number of terms of the sequence. The output of the sequence is in
Binary Form.

Sample Input: Sample Output:

3 011

5 0 1 1 10 11

6 0 1 1 10 11 101
3. BACKGROUND:

A Company needs to upgrade their inventory system by adding features that can determine the
Min and Max price of their product. The price limit is 100php.

SPECIFICATION:

There are 5 inputs in the program. The currency is in Philippine peso. The program will also
compute for the average of the price entered by the user. If the input exceeds the limit, the program will
display “You’ve reached the limit” and the program will terminate.

Sample Input: Sample Output:

54321 The max price is: 5.00php

The min price is: 1.00php

The average price is: 3.00php

3 4 101 You’ve reached the limit

4. BACKGROUND:

A teacher needs an application that will get the sum of all the even numbers entered by
his students and will also display it, simultaneously. The required number of inputs is 5 integers.

SPECIFICATION:

The program will require the user to input 10 integer values. The program will display
the sum of all the even numbers and will also display it, simultaneously.

Sample input: Sample Output:

4 2 8 9 11 1 4 8 0 21 The sum of all even numbers is: 26

The even numbers are: 4, 2, 8, 4, 8, 0

5. BACKGROUND:

A newly-opened grocery wants to add more security for their system. Instead of using
an RFID card to open the POS, the owner wants to add a password.

SPECIFICATION:

The user will enter first the new password and the program will prompt if the user
wants to login. The user is only given 3 tries to access the account. If the user failed to login, the
program will display “Access Terminated!”.
Sample Input: Sample Output:

Enter a new password: icpep You’ve successfully logged in!

Do you want to login? (y/n): y

Enter password: icpep

You might also like