Preview

Thesis on Atheist

Good Essays
Open Document
Open Document
923 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Thesis on Atheist
Student Name(s) LN, FN MI | 1. Balauan, Raymart | | 2. Dejaresco, John Carlo | | 3. Lim, Jean | | 4. Maderal, Krizette Pearl | Group Number | |

Problem 1: Strings
Write a program and create the corresponding flowchart that will ask the user for the initials of the user’s first and last names and then output a greeting that says “Hello”, followed by the user’s initials and an exclamation mark. For example, if the user’s initials are J and D, then the output greeting would be: Hello J D!

Problem 2: Strings
Write a program and its corresponding flowchart that computes your initials from your full name and display them

Problem 3: Control Structure
Using for loop, write a Java program and its corresponding flowchart which displays all leap years from 1900 to 2100. A year is a leap year (and so contains a February 29) if it is divisible by 4. But if the year is also divisible by 100 then it is not a leap year, unless it is divisible by 400. This means that year such as 1992, 1996 are leap years because these years are divisible by 4and are not affected by the rest of the rule which applies to century years such as 1900 and 2000. Century years are not leap years except where they are a multiple of 400. Hence the years 1700, 1800, 1900 were not leap years and did not contain a date February 29. But the year 2000 was a leap year, the first such century leap year since 1600.

Problem Answer(s):
START
START
Problem 1: Strings (Flow Chart)

String nameInitials
String nameInitials

Get nameInitials
Get nameInitials

Display “Hello nameInitials!”
Display
“Hello nameInitials!”

END
END

Problem 1: Strings (Code) import java.util.*; public class problem_1_Strings { public static void main (String[] args){ // Create a Scanner Scanner input = new Scanner(System.in); // Ask the user to input His/Her Initials System.out.print("Enter your Name's Initials: "); String nameInitials = input.nextLine(); //

You May Also Find These Documents Helpful

  • Better Essays

    In William L. Rowe 's paper "The Problem of Evil and Some Varieties of Atheism" he sets out to accomplish two main goals. The first goal is directed toward theists, while the second attempts to reach the very wellspring of an atheist 's heart. Foremost, Rowe sets out to show that there is "an argument for atheism based on the existence of evil that may rationally justify someone in being an atheist" (335). After he has effectively addressed this first issue he moves on to try and convince the atheist that in light of all the evidence that theists are rationally justified (just as much as the atheist) and therefore that atheists should subscribe to what Rowe calls "friendly atheism."…

    • 1206 Words
    • 4 Pages
    Better Essays
  • Good Essays

    Week 1 Lab_ CIS_115

    • 439 Words
    • 2 Pages

    Use MS Visio to create a flowchart. Paste the flowchart here, or attach it as a separate document. Use the same valid variable names you used in Step 1.…

    • 439 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    Pt1420 week 2

    • 320 Words
    • 3 Pages

    1. Design an algorithm that prompts the user to enter his or her height and stores the user’s input in a variable named height.…

    • 320 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Nt1310 Unit 3 Assignment

    • 256 Words
    • 2 Pages

    Write a program to read the name of 5 students through keyboard and store them in a file “name.txt”.…

    • 256 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    1. Design an algorithm that prompts the user to enter his or her height and stores the user’s input in a variable named height.…

    • 848 Words
    • 4 Pages
    Satisfactory Essays
  • Good Essays

    pt1420 exam review

    • 738 Words
    • 3 Pages

    What is a diagram that graphically depicts the steps that take place in a program? Flowchart…

    • 738 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    It 210 Week 7

    • 286 Words
    • 2 Pages

    2. Display the contents of the file GRADES created in Problem 1. Each student’s record should appear on a separate line and include the total score (the sum of the three tests) for that student. For example, a line of output might be as follows:…

    • 286 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Csd 269 Study Guide Week 6

    • 2843 Words
    • 12 Pages

    the reader identifies letters by visual analysis and assigns the letters to a graphic code,…

    • 2843 Words
    • 12 Pages
    Good Essays
  • Good Essays

    The weaknesses of the Ontological Argument give support to Atheism. Discuss this claim (12 marks)…

    • 823 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Using Global Variables

    • 252 Words
    • 2 Pages

    In order to declare global variables in a flowchart, you’d put that variable in the main part of the program (the main box where other functions will branch off from) for local variables, you’d put those variables in the box where each separate functions executed.…

    • 252 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Lab 3 Student

    • 1264 Words
    • 7 Pages

    Step 3: Write the exact output you would expect from the following line of code if the user of the program enters “Nolan Owens”. (Reference: Displaying Items, page 40 – 41).…

    • 1264 Words
    • 7 Pages
    Satisfactory Essays
  • Good Essays

    Freud was a neurologist and is known as the founding father of psychoanalysis. Freud believed that religion is used as a protective system that man should ‘disregard in its relation to reality’. Freud saw to origins of religious belief lying with primitive tribes. The tension between the dominant male and the subordinate males (sons) culminates to over throw the father (this is a manifestation of the Oedipus complex). However, the guilt that the son then feels because of this is alleviated only by worshiping his father. The super-ego (the part of your subconscious that encourages you to act morally it represses anti-social impulses such as killing, and by inducing fear and guilt, it is crucial for civilisation) then takes the place of the father as a source of internalised authority, which is derived from the family, education and Church. God is a father substitute and a projection of the super-ego. Freud believed that man is dependent on religion to ‘make his helplessness tolerable’ and whilst he maintained this dependency he could never truly be happy. Freud realised that a feeling of helplessness in the face of external dangers, inner impulses and death and society, were at the route of religion. He observed that many religious rituals were similar to obsessive rituals. These are to protect the ego (the more primal part of your subconscious) from fantasies, desires and especially sexual impulses which, are normally repressed.…

    • 1054 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    In his article “On Being an Atheist,” H. J. McCloskey makes an entertaining, but in the end inadequate, explanation as to why the arguments for God’s existence fail (limiting himself to the only two he cared to deal with), and why Atheism provides more comfort to the hurting person than Theism.…

    • 2161 Words
    • 9 Pages
    Powerful Essays
  • Satisfactory Essays

    The following information was entered into the computer: our initial, date-of-birth, gender and height in inches.…

    • 233 Words
    • 1 Page
    Satisfactory Essays
  • Powerful Essays

    On Being an Atheist

    • 1378 Words
    • 6 Pages

    The purpose of the paper is to answer several questions arising from an article by H. J. McCloskey entitled “On Being an Atheist”.…

    • 1378 Words
    • 6 Pages
    Powerful Essays