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

    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
  • Improved Essays

    Pt1420 Unit 8

    • 925 Words
    • 4 Pages

    The integer variable provided in the second argument will be assigned the position of the opening parenthesis of the parentheses that is around the string returned by the function. The third argument is an integer and is assigned a vale to indicate the position of the closing…

    • 925 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
  • Improved Essays

    Data Type Description and example use **You must provide an example of what each data type could be used for** String A data type used in programmings such as an integer and floating point unit, but is used to represent text rather than numbers. • I bought 3 CD’s which were from 3 different artists. It shows that I bought it from 3 different people. • If (Option 1==Option 2) If the values are the same, then it is true.…

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

    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

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

    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

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

    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

    English 5A Reflection

    • 1268 Words
    • 5 Pages

    As I reflect back to the learning that I’ve gained thus far in English 5A I realized how broad English truly is, there is way more than I imagined to learn. As I started the semester, my first essay wasn’t the best, as I continued in English 5A I learned different ways on how to approach an academic essay with a better outcome. I acquired that a well written essay is structured properly by identifying the conversation about a topic.…

    • 1268 Words
    • 5 Pages
    Improved 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