Polytechnic University of the Philippines Computer Science Forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.


I.T. People of P.U.P.
 
HomePortalLatest imagesSearchRegisterLog in
Latest topics
» Bagong Member ka ba dito?
For CS Freshmen, Sophomores and Juniors of PUP EmptyFri Oct 01, 2010 12:05 pm by kathleenp980

» NEW PUPCS FORUMS
For CS Freshmen, Sophomores and Juniors of PUP EmptySun Aug 08, 2010 12:45 am by Admin

» My PC Softwares
For CS Freshmen, Sophomores and Juniors of PUP EmptyThu Mar 05, 2009 12:38 am by Mongol

» Animation Guild Philippines Site
For CS Freshmen, Sophomores and Juniors of PUP EmptyMon Jan 19, 2009 3:22 pm by komiks0916

» graduation of Mr. Allen Jay Tan
For CS Freshmen, Sophomores and Juniors of PUP EmptyFri Jan 16, 2009 5:17 am by nhaite

» NILALANGAW
For CS Freshmen, Sophomores and Juniors of PUP EmptyFri Jan 16, 2009 5:13 am by nhaite

» CS I-2! sabi na EH!
For CS Freshmen, Sophomores and Juniors of PUP EmptyWed Jan 14, 2009 9:56 pm by kaTHY B.

» GRAND CHRISTMAS REUNION
For CS Freshmen, Sophomores and Juniors of PUP EmptyMon Dec 01, 2008 10:59 pm by callbookol

» POST YOUR TOP 5 HERE
For CS Freshmen, Sophomores and Juniors of PUP EmptySat Nov 29, 2008 8:50 am by callbookol

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search
Top posters
callbookol
For CS Freshmen, Sophomores and Juniors of PUP Vote_lcapFor CS Freshmen, Sophomores and Juniors of PUP Voting_barFor CS Freshmen, Sophomores and Juniors of PUP Vote_rcap 
lyconn
For CS Freshmen, Sophomores and Juniors of PUP Vote_lcapFor CS Freshmen, Sophomores and Juniors of PUP Voting_barFor CS Freshmen, Sophomores and Juniors of PUP Vote_rcap 
kaTHY B.
For CS Freshmen, Sophomores and Juniors of PUP Vote_lcapFor CS Freshmen, Sophomores and Juniors of PUP Voting_barFor CS Freshmen, Sophomores and Juniors of PUP Vote_rcap 
pong
For CS Freshmen, Sophomores and Juniors of PUP Vote_lcapFor CS Freshmen, Sophomores and Juniors of PUP Voting_barFor CS Freshmen, Sophomores and Juniors of PUP Vote_rcap 
WELLington
For CS Freshmen, Sophomores and Juniors of PUP Vote_lcapFor CS Freshmen, Sophomores and Juniors of PUP Voting_barFor CS Freshmen, Sophomores and Juniors of PUP Vote_rcap 
mon-mon
For CS Freshmen, Sophomores and Juniors of PUP Vote_lcapFor CS Freshmen, Sophomores and Juniors of PUP Voting_barFor CS Freshmen, Sophomores and Juniors of PUP Vote_rcap 
luapnhoj
For CS Freshmen, Sophomores and Juniors of PUP Vote_lcapFor CS Freshmen, Sophomores and Juniors of PUP Voting_barFor CS Freshmen, Sophomores and Juniors of PUP Vote_rcap 
Mongol
For CS Freshmen, Sophomores and Juniors of PUP Vote_lcapFor CS Freshmen, Sophomores and Juniors of PUP Voting_barFor CS Freshmen, Sophomores and Juniors of PUP Vote_rcap 
irony
For CS Freshmen, Sophomores and Juniors of PUP Vote_lcapFor CS Freshmen, Sophomores and Juniors of PUP Voting_barFor CS Freshmen, Sophomores and Juniors of PUP Vote_rcap 
dice
For CS Freshmen, Sophomores and Juniors of PUP Vote_lcapFor CS Freshmen, Sophomores and Juniors of PUP Voting_barFor CS Freshmen, Sophomores and Juniors of PUP Vote_rcap 

 

 For CS Freshmen, Sophomores and Juniors of PUP

Go down 
3 posters
AuthorMessage
callbookol

callbookol


Number of posts : 119
Age : 37
Location : kawit, cavite
Registration date : 2008-08-10

For CS Freshmen, Sophomores and Juniors of PUP Empty
PostSubject: For CS Freshmen, Sophomores and Juniors of PUP   For CS Freshmen, Sophomores and Juniors of PUP EmptyWed Aug 13, 2008 9:27 am

Hi guys! Kung may mga projects or case studies kayo na mahirap, you can post it here as well. Maybe some members of the forum can help you. Tulong tulong tayo mga kapatid..hehe.
Back to top Go down
kaTHY B.

kaTHY B.


Number of posts : 58
Age : 32
Location : Malabon City
Registration date : 2008-09-28

For CS Freshmen, Sophomores and Juniors of PUP Empty
PostSubject: Re: For CS Freshmen, Sophomores and Juniors of PUP   For CS Freshmen, Sophomores and Juniors of PUP EmptySun Sep 28, 2008 11:41 pm

nakOW! tamang-tama., freshie ako taz mei case study pa kami., patulong ah., please.,
Back to top Go down
http://www.friendster.com/lkrbulabos24
callbookol

callbookol


Number of posts : 119
Age : 37
Location : kawit, cavite
Registration date : 2008-08-10

For CS Freshmen, Sophomores and Juniors of PUP Empty
PostSubject: Re: For CS Freshmen, Sophomores and Juniors of PUP   For CS Freshmen, Sophomores and Juniors of PUP EmptyMon Sep 29, 2008 11:11 am

sige Kathy, post mo lang dito yung problem at baka matulungan ka namin.. king
Back to top Go down
kaTHY B.

kaTHY B.


Number of posts : 58
Age : 32
Location : Malabon City
Registration date : 2008-09-28

For CS Freshmen, Sophomores and Juniors of PUP Empty
PostSubject: Re: For CS Freshmen, Sophomores and Juniors of PUP   For CS Freshmen, Sophomores and Juniors of PUP EmptyFri Oct 03, 2008 5:33 pm

I. NUMBERS
A. Conversions
a.decimal-to-binary
b.decimal-to-octal
c.decimal-to-hexadecimal

B. ABUNDANT, DEFICIENT or PERFECT

Input a no. Determine if the number is ABUNDANT, DEFICIENT or PERFECT. ABUNDANT is said to be trhe sum of all factors of the number, except the number itself, is greater than the number. DEFICIENT is said to be the sum of all factors of the number, except the number itself, is less than the number. and PERFECT number is said to be the sum of all factors of the number, except the number itself, is equal to the number.

INPUT: 6
OUTPUT: Perfect (Factors are 1,2,3 and sum is 6)
INPUT: 9
OUTPUT: Deficient (Factors are 1,3 and sum is 4)
INPUT: 12
OUTPUT: Abundant (Factors are 1,2,3,4,6 and sum is 15)

C. Armstrong
(input a positive no. Determine if the number is armstrong or not. Armstrong no. is the sum of the cube of each digit from the number.
INPUT: 153
OUTPUT: Armstrong (1^3 + 5^3 + 3^3 = 1+ 125 + 27 =153)
INPUT: 143
OUTPUT: Not Armstrong (1^3 + 4^3 + 3^3 = 1+ 64 + 27 =92)

II. STRING
A. Palindrome
B. Longest Word
INPUT:patulong naman please
OUTPUT:patulong
(kapag dalawa o higit pa ung magkaparehas ng haba ng characters.. lahat un lalabas .. )
C. Occurence
INPUT:patulong naman
OUTPUT:
a = 3
p = 1
t = 1
u = 1
l = 1
o = 1
n = 3
m = 1
space = 1




sa conversion mei nasimulan na..

ung palindrome tapos na.,

ako na bahala sa B. ABUNDANT, DEFICIENT or PERFECT at C. Armstrong

phelp naman sa iba., pls




PM nio n lng po ako sa YM

friendship_kathy_24



tnx ulit


promise., tinatry ko din gawin.,

bigyan nio na lang ako idea kung paano gagawin., ako gagawa.,


Last edited by kaTHY B. on Mon Oct 06, 2008 2:14 pm; edited 1 time in total
Back to top Go down
http://www.friendster.com/lkrbulabos24
callbookol

callbookol


Number of posts : 119
Age : 37
Location : kawit, cavite
Registration date : 2008-08-10

For CS Freshmen, Sophomores and Juniors of PUP Empty
PostSubject: Re: For CS Freshmen, Sophomores and Juniors of PUP   For CS Freshmen, Sophomores and Juniors of PUP EmptyMon Oct 06, 2008 7:37 am

Nosebleed to Kathy a.. hehehe..

Susubukan ko gawin ngayon. Sensya na, sobrang busy talaga. Pero wala kong pasok ngayong monday! cheers cheers
Back to top Go down
kaTHY B.

kaTHY B.


Number of posts : 58
Age : 32
Location : Malabon City
Registration date : 2008-09-28

For CS Freshmen, Sophomores and Juniors of PUP Empty
PostSubject: Re: For CS Freshmen, Sophomores and Juniors of PUP   For CS Freshmen, Sophomores and Juniors of PUP EmptyMon Oct 06, 2008 2:07 pm

callbookol wrote:
Nosebleed to Kathy a.. hehehe..

Susubukan ko gawin ngayon. Sensya na, sobrang busy talaga. Pero wala kong pasok ngayong monday! cheers cheers


mas nosebleed nga ako eh., T_T tulo pa sipon ko., ahihi., kahit nilalagnat+headache., dahil sa case study hnd ako makapagpahinga., haha!
Back to top Go down
http://www.friendster.com/lkrbulabos24
seph




Number of posts : 10
Age : 114
Registration date : 2008-08-13

For CS Freshmen, Sophomores and Juniors of PUP Empty
PostSubject: Re: For CS Freshmen, Sophomores and Juniors of PUP   For CS Freshmen, Sophomores and Juniors of PUP EmptyFri Oct 10, 2008 12:50 pm

sa conversion, tingin ko division ln un trick jan.

to binary
1. divide by 2
2. place remainder in a string(even if the remainder is 0).
3. repeat steps 1 and 2 but stop when the quotient is already 0.(in step 2, after placing the remainder in the string, move the index of the string to the next one.)
3.x. given is 6, string is binary and the starting index is 0. (step 1)divide 6 by 2 and you'll get the quotient 3, remainder 0. (step 2)the string would hold the remainder in the starting index([0]) so it would be "0"(binary[0] = '0'). increase the index to 1. (repeating 1 and 2)divide the answer(which is 3) to 2 again you'll get quotient 1 and 1 as the remainder. the string would now hold "01"(binary[1] = '1'). increase the index to 2. (repeating 1 and 2) and again divide the answer(1) by 2, you'll get 0 as the quotient and 1 as the remainder. the string would now hold "011"(binary[2] = '1'). increase the index to 3. now that tha quotient is 0, this is where you stop.
4. reverse the order of the string and you'll get the binary form of the decimal.
4.x. if you'll do the example of 3.x. the string binary would hold "011". reverse its order and you'll get "110" which is the binary of the given 6.

to octal and hexadecimal, they have the same steps just change the divisor, although hexadecimal has an added tweak where you need to change the remainder to A-F once they reach 10-15.
Back to top Go down
kaTHY B.

kaTHY B.


Number of posts : 58
Age : 32
Location : Malabon City
Registration date : 2008-09-28

For CS Freshmen, Sophomores and Juniors of PUP Empty
PostSubject: Re: For CS Freshmen, Sophomores and Juniors of PUP   For CS Freshmen, Sophomores and Juniors of PUP EmptySat Oct 11, 2008 6:27 am

kuya seph,. salamat,
Back to top Go down
http://www.friendster.com/lkrbulabos24
kaTHY B.

kaTHY B.


Number of posts : 58
Age : 32
Location : Malabon City
Registration date : 2008-09-28

For CS Freshmen, Sophomores and Juniors of PUP Empty
PostSubject: Re: For CS Freshmen, Sophomores and Juniors of PUP   For CS Freshmen, Sophomores and Juniors of PUP EmptySat Oct 11, 2008 6:28 am

yiPEeE! natapos na sa wakas ang madugong pakikipaglaban sa programming., nxt sem ulit! hahaha! nyok., off-topic tong post ko? hehehe
Back to top Go down
http://www.friendster.com/lkrbulabos24
Sponsored content





For CS Freshmen, Sophomores and Juniors of PUP Empty
PostSubject: Re: For CS Freshmen, Sophomores and Juniors of PUP   For CS Freshmen, Sophomores and Juniors of PUP Empty

Back to top Go down
 
For CS Freshmen, Sophomores and Juniors of PUP
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Polytechnic University of the Philippines Computer Science Forums :: Discussions :: New Member Introduction-
Jump to: