Assignment 5: 5 Questions To Study Questions

Decent Essays
Stephen Bessey
Kodey Crandall, M.S.
INFO 1200-002
8 October 2015
Midterm Extra Credit: 5 Questions to Study
1. Determine why this code wouldn’t work. class WhereTheWitchAt
{
static void Main() { int value = 6; log (value) { case 4: Console.WriteThis(4); break; case 6: Console.WriteThis(6); break; } }
}

a. Static void isn’t valid
b. Log should be replaced with switch
c. Int value cannot be the same as case number
d. Class should always be Form1
2. Which code is not properly formatted?
a. 435 = theDigits
b. myName = txtName.Text
c. helloThere = “Hi!” firstName.Text
d. theLifeLength = 90
3. Which code method won’t clear a text box?
a. txtInput.Text = String.Empty
b. txtInput.Text =””
c. (textInput).Text.Clear()

Related Documents

  • Improved Essays

    Believe it or not texting language is not actually texting language, as many people, including Stafford, claim; instead it is Secretarial diction shorthand. The people that businessmen and women require to spell everything correctly use this “choppy English” to spell and write everything non-choppy and proper…

    • 1526 Words
    • 7 Pages
    Improved Essays
  • Improved Essays

    Pt1420 Unit 8

    • 925 Words
    • 4 Pages

    Eventually the program would get down to the innermost parentheses and return that answer up a level so that instance can solve its…

    • 925 Words
    • 4 Pages
    Improved Essays
  • Improved Essays

    NUSC 5173: Quantitative Epidemiology I WEEK 5 Discussion Questions Discuss how the results might have been affected if the comparison group was: (1) no milk instead of non-fortified milk; (2) Discuss how the results might have been affected if the comparison group was: milk fortified with other nutrients besides those being investigated in the study. The experimental aim of the Sazawal study was to "to evaluate the efficacy of milk fortified with specific multiple micronutrients (providing additional 7.8 mg zinc, 9.6 mg iron, 4.2 g selenium, 0.27 mg copper, 156 g vitamin A, 40.2 mg vitamin C, 7.5 mg, vitamin E per day (three feeds) x 1 year) on morbidity in children compared with the same milk without fortification” (Sazawal et al., 2007, p.1).…

    • 1189 Words
    • 5 Pages
    Improved Essays
  • Decent Essays

    Task 5-25 Answers

    • 56 Words
    • 1 Pages

    Task 1: Ms. Barksdale will submit random UA's and if it is positive, CP will refer Ms. Barksdale for a rule 25 assessment. Progress: Ms. Barksdale was initially assigned UA color code Black and it was changed to yellow due to her work schedules. The two of the UA's results were positive for Alcohol only.…

    • 56 Words
    • 1 Pages
    Decent Essays
  • Improved Essays

    Sometimes, we are scared to do things or just don’t like the essence of the object. Once we try or do it, we realize it’s not as bad as we think. In “Learning to Skate,” Linda’s mother made her go ice skating even though she didn’t want to and she liked it. In “Brown Onions”, Erika’s father loved onions, she despised onions so she made a deal with her father and tried the onions.…

    • 827 Words
    • 4 Pages
    Improved Essays
  • Improved Essays

    The movie about The Central Park Five produced by Ken Burns, it about the story of the five black boy (Korey Wise, sixteen years old, Kevin Richardson, fourteen years old, Yusef Salaam, fifteen years old and Antron McCray, thirteen years old) and one Latino (Raymond Santana, fourteen years old), so they were wrongly convicted of rape a white woman in New York City in April, 1989. In about 1984 in New York City it was danger and people were selling drugs, gang’s wars, and the economy was terrible. Also, the building was old fashioned, the people sleeping on the street, they used drugs, and people was afraid to walk in the city. One night people throwing rocks a black girl and the same night Kevin Richardson, Raymond Santana and Korey Wise were detained at the Central Park.…

    • 505 Words
    • 3 Pages
    Improved Essays
  • Improved Essays

    1984 Socratic Seminar Questions Answers to the Questions (20 points) Seminar Participation & Reflection (30 points) 1. What is the nature of love and friendship in Oceania? The party forbidden love and friendship because they only want their citizens to have undivided loyalty to them. In chapter 3 of part III, O’Brien that “there will be no loyalty, except loyalty towards the Party.…

    • 1253 Words
    • 6 Pages
    Improved Essays
  • Decent Essays

    Psychology 101 Extra Credit Assignment Successful completion of this assignment will replace your lowest test grade with the grade you receive on the assignment. Write an APA formatted paper which answers the question, “Why study Psychology?” The paper is to follow the same APA formatting standards as your article reviews EXCEPT the references will be at the end of the paper on their own page. The paper should include a cover sheet with a proper header.…

    • 407 Words
    • 2 Pages
    Decent Essays
  • Improved Essays

    The Freedpeople “Big Question” In order to answer any questions about history that as why or how, we must first look at the people involved. The portion of history immediately following the American Civil War are also known as the Reconstruction Era. It is difficult to name an era while experiencing it, so why is it considered the reconstruction era? The term reconstruction does not mean the rebuilding of a physical building or place when talked about in the sense of the Era.…

    • 715 Words
    • 3 Pages
    Improved Essays
  • Decent Essays

    Lp's Prized Quizzes

    • 91 Words
    • 1 Pages

    The downside of LP's prized quizzes was the fact that the prizes offered in most of the quizzes were either fake or nonexistant. LP decided to use cardboard to make most of his prizes, resulting in disappointment when the winner received it. Quiz 10 offers the worst prize overall, which was the VIP access to LP's space station. It might sound amusing at first, but the problem is LP doesn't own a space station, not even an online version of it, increasing the chance of LP's quiz production to cease…

    • 91 Words
    • 1 Pages
    Decent Essays
  • Improved Essays

    Full sentences are NOT required as long as answers are complete. 1.) If you could take only one concept from your learning in this class to apply to your well-being, what would it be and why? (5 points)…

    • 635 Words
    • 3 Pages
    Improved Essays
  • Improved Essays

    The different data types available for programming are String, Integer, Single, Double, Boolean and Date. - Data Type: String  Use of String: A String can be used as a form of a character e.g. “a” or a string of characters e.g. “abcdefg”. It can be any type of text e.g. “Hello World!”. • Alphabetic – A to Z, a to z, space • Special characters - £$%& • Numbers that are not used for calculations.…

    • 841 Words
    • 4 Pages
    Improved Essays
  • Great Essays

    Wgu Assessment Task 1

    • 1083 Words
    • 5 Pages

    Assessment Task 1 A. IMPLEMENTATION PLAN Goal: lift distribution capacity by 20% Current resources: 30 employees - 1 business manager - 15 employees in picking and packing team - 10 in distribution team - 4 in checkout team Operating hours: 5am to 5pm Products for distribution: dry food products, chemical cleaners, refrigerated foods, fresh and frozen produces, cigarettes and alcohol. Strategic direction: • Increased efficiency in distribution • Minimise wastage in resources • Improved technological equipment- better use of computers, iPads to implement better record keeping • Increase the number of supermarkets we service • Support innovative thinking, management and leadership skills • Create a high performing warehouse • Reduce…

    • 1083 Words
    • 5 Pages
    Great Essays
  • Decent Essays

    IHUM 202 Name¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬_______________Nhi Tran__________________ Reading Questions A Discourse on Method 1. As he meditates on and develops his method for finding scientific truths, Descartes debates whether he should sweep away old notions (existing knowledge and philosophies) or build upon them. Which option does he reason is the most effective for him and why?…

    • 354 Words
    • 2 Pages
    Decent Essays
  • Improved Essays

    In high school I was exposed to a lot of writing and reading from grades nine all the way through twelve. I learned how to write through literature for the most part but I also learned by building from the ground up. Through high school from freshman year through senior year we wrote 2-3 papers a semester. In my high school English class we did a lot of learning and writing through textbooks, and novels, and what was going on in the world around us.…

    • 728 Words
    • 3 Pages
    Improved Essays