Results 1 to 14 of 14
  1. #1
    Join Date
    Apr 2012
    Posts
    7
    Rep Power
    0

    Post Questões de Java para INICIANTE

    Palídromos
    O número decimal, 585 = 10010010012(binário), é um palíndromo em ambos os casos. Encontre a soma de todos os números, menores que um milhão, que são palindromos na base 2 e na base 10.

    Soma de inteiros
    É possível escrever 5 como a soma de inteiros de 6 diferentes maneiras:
    4 + 1
    3 + 2
    3 + 1 + 1
    2 + 2 + 1
    2 + 1 + 1 + 1
    1 + 1 + 1 + 1 + 1
    De quantas maneiras diferentes podemos escrever 100 como uma soma de pelo menos dois inteiros?

    Contando digitos
    Começando de zero e incrementando os números naturais na base 10 temos:
    0 1 2 3 4 5 6 7 8 9 10 11 12 ...
    Considere o dígito d=1. Após escrevemos os n primeiros naturais, o número de naturais que ocorrem com dígito d=1é f(n,1):
    n => 0 1 2 3 4 5 6 7 8 9 10 11 12
    f(n,1)=> 0 1 1 1 1 1 1 1 1 1 2 4 5
    Uma solução para a equação f(n,d)=n é n=0e d=1. Encontrar a próxima solução para d=1

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,387
    Rep Power
    25

    Default Re: Questões de Java para INICIANTE

    If you can post in English you will get more help.
    If you don't understand my response, don't ignore it, ask a question.

  3. #3
    Join Date
    Apr 2012
    Posts
    7
    Rep Power
    0

    Default Re: Questões de Java para INICIANTE

    Quote Originally Posted by Norm View Post
    If you can post in English you will get more help.


    Palídromos
     NUMBER decimal 585 = 10010010012 (binary), and um palindrome in both cases. . Find the sum of all numbers, Juvenile What Million hum, which are palindromes portray nd nd base 2 and base 10 Sum of integers and

    Possible  write 5 as a sum of integers from 6 different ways: 4 + 1 3 + 2 3 + 1 + 1 2 + 2 + 1 2 + 1 + 1 + 1 1 + 1 + 1 + 1 + 1 In Number CAN write 100 different ways as a sum of at Least Two integers? counting digits


    Starting  zero and increasing the natural numbers nd base 10 are: 0 1 2 3 4 5 6 7 8 9 10 11 12 ... Consider the digit d = 1. After the first N Natural written, the amount of natural occurring with digit d = 1E f (n 1) n => 0 1 2 3 4 5 6 7 8 9 10 11 12 f (n 1) => 0 1 1 1 1 1 1 1 1 1 2 4 5 A solution paragraph an equation f (n, d) n = n = 0 and d = 1. Find a Solution pr oxime paragraph d = 1


    BEING CAN HELP ME, WILL BE GRATEFUL.

  4. #4
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,387
    Rep Power
    25

    Default Re: Questões de Java para INICIANTE

    Can you explain what your java programming problems are?
    Do you have any questions about your code? If so, post the code and your questions.
    If you don't understand my response, don't ignore it, ask a question.

  5. #5
    Join Date
    Apr 2012
    Posts
    7
    Rep Power
    0

    Default Re: Questões de Java para INICIANTE

    in fact as I am beginner I do not know where to start. I would like to help one to perform these exercises.

  6. #6
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,387
    Rep Power
    25

    Default Re: Questões de Java para INICIANTE

    Chose one of the problems and make a list of the steps the computer must take to solve it. You need to understand the problem and the required steps before you try to write a program.

    The problems you have listed are not the normal computer student problems. They look more like problems for a math student than for a computer science student.
    If you don't understand my response, don't ignore it, ask a question.

  7. #7
    Join Date
    Apr 2012
    Posts
    7
    Rep Power
    0

    Default Re: Questões de Java para INICIANTE

    Are you a professor of the University?
    What you said is really true.
    But I need these questions. Do you know how to help me?

  8. #8
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,387
    Rep Power
    25

    Default Re: Questões de Java para INICIANTE

    Choose a problem and start working on it as I suggested. If you do not know a little how a computer program works, then it will be very difficult for you to solve any of these problems.
    If you don't understand my response, don't ignore it, ask a question.

  9. #9
    Join Date
    Apr 2012
    Posts
    7
    Rep Power
    0

    Default Re: Questões de Java para INICIANTE

    Esse é o problema, eu realmente não sei nem como começar estes programas. Precisaria de como se faz , para poder ter uma noção . Afim de que possa fazer alguns no futuro.
    Você não tem algum material ou algum site que eu possa encontrar essas questões prontas ?
    Para que eu possa estudar e ver os resultados.

  10. #10
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,387
    Rep Power
    25

    Default Re: Questões de Java para INICIANTE

    That's the problem, I really do not know how to get these programs. Need how to do in order to get a sense. So that it can make some in the future.
    You do not have any material or any site that I can find these questions ready?
    So I can study and see the results.
    I would suggest you find some simpler problems to start with. Like finding the first 100 prime numbers.
    Or a simpler palindrome testing program.
    Or a program to change a number's base: given a number as a String in base 8 convert it to a String in base 12
    If you don't understand my response, don't ignore it, ask a question.

  11. #11
    Join Date
    Apr 2012
    Posts
    7
    Rep Power
    0

    Default Re: Questões de Java para INICIANTE

    Thanks for trying to help me.
    I want them ready. In order to study them.

  12. #12
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,387
    Rep Power
    25

    Default Re: Questões de Java para INICIANTE

    Try Google. I've never seen problems like yours.
    If you don't understand my response, don't ignore it, ask a question.

  13. #13
    Join Date
    Apr 2012
    Posts
    7
    Rep Power
    0

    Default Re: Questões de Java para INICIANTE

    My buddy, I even tried google. But the stakes are so sinister. What he gave me no answer.

  14. #14
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,387
    Rep Power
    25

    Default Re: Questões de Java para INICIANTE

    Then you need to find a tutor to help you.
    If you don't understand my response, don't ignore it, ask a question.

Similar Threads

  1. problemas com conversão de string para int
    By paulo.park in forum Networking
    Replies: 1
    Last Post: 09-08-2010, 02:04 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •