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

  • 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 Unit 7 Study Guide

    • 582 Words
    • 3 Pages

    3.Write a program to (a) prompt the user, (b) read first, middle, and last initials of a person’s name, and display them down the left margin. Page: 80…

    • 582 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
  • 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
  • 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
  • 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

    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

    As a child, more than likely, we are taught by our parents certain values into our development. Values such as saying grace, your prayers before bedtime or church on Sundays. Religion is not hollow, meaning that it is not singular. McCutcheon explains in his article differences between commonly confused subjects, differences of studying religion in a church instead of a: synagogue, mosque or temple. He also explains how to study religion within an academic atmosphere, attitudes that should be avoided and perspectives that should be obtained in order to thoroughly understand world religion.…

    • 523 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Theoretical approaches in general help us understand the concepts of religion that both our society has created and societies before ours. Two theoretical approaches to “religion” that would help understand ancient cultures would be Archaeology and History. Archaeologist would look closely at artifacts and past civilizations to understand the way they practice or believed in religion. Where as Historians would examine the language that was spoke, which would then correlate to the stories being told and the texts that came from a specific culture, traditions and decrees. Many may say that the archaeological approach to understanding religion has more evidence since the way these individuals look at religion have tangible objects opposed to the…

    • 761 Words
    • 4 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
  • 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