Premium Essay

Unit 2 Research Assignment

In:

Submitted By ChrisManiack
Words 337
Pages 2
Unit 2 Assignment: Research

1. What are the variable naming rules of Visual Basic, Python, and Java? * Visual Basic requires you to use a letter as your first character. You are unable to use spaces, periods, exclamation marks, and other special characters within the name, consisting of: @, &, $, #. The name also can’t exceed 255 characters. You can’t repeat the same names within the same level of scope. There’s also a few other minor rules to follow as well. * Python allows you to use either a letter or underscore character as the first character in a line. You can use an unlimited amount of letter, numbers, or underscore characters following that. Python is also case sensitive and therefore makes upper and lower case characters important. Any digit number will work including and between the numbers 0 through 9. * Java can use Unicode letters, digits, and two special characters such as an underscore and dollar sign. Java is also case sensitive. A variable’s name can be any legal identifier. The length of a variable name can also be any number. The beginning variable can consist of either letters or underscore characters. White space isn’t permitted, special characters aren’t allowed, and digits cannot be used at the start. Subsequent characters are able to be letters, digits, dollar signs, or underscore characters. Finally, variable names must not be a keyword or reserved word.

2. List three similarities and differences between the three programming languages. * For the three similarities between the three programming languages, it would appear that: all three appear to be case sensitive, all three allow the use of letter characters within the beginning of a line, and all three programming language allow the use of digit characters within names. * For the three differences between the three programming languages, not all three

Similar Documents

Premium Essay

Unit 2 Research Assignment

...Unit 2 Research Assignment 1 Chris Stephens ITT Technical Institute PT1420 Introduction to Programming Mr. Chamberlin April 1, 2014 Researching Variable Naming Rules The variable naming rules for Visual Basic, Python, and Java have many different facets to them. These are the most common and most used programming languages in use today. Over the years these languages have become more user-friendly and easier to comprehend to write programs. Visual Basic is most used in introductory program writing and common for students’ first learning of programming. Some of the naming rules for Visual Basic are: the first character of the name must be a letter, you can’t use a space, period, exclamation point, or these special characters - &, @, $, or # in the name, the name cant’ exceed 255 characters in length, and Visual Basic isn't case-sensitive, but it preserves the capitalization in the statement where the name is declared. (Microsoft, 2014) Python provides a special process called the PEP process, short for Python Enhancement Process for changes proposed to Python. (University, 2014) Some of the naming rules for Python are as follows : indentation should be done using four spaces per indentation level, lines should be less than 80 characters as compared to Visual Basic and its use of a maximum of 255 characters, and lines that get too long should be aligned in a “reasonable” fashion, for example aligned with an open delimiter and at a different...

Words: 625 - Pages: 3

Premium Essay

Unit 2 Research Assignment

...Research Assignment Java is a general-purpose, concurrent, class-based, object-oriented computer programming language that is specifically designed to have as few implementation dependencies as possible. It is intended to let application developers "write once, run anywhere" (WORA), meaning that code that runs on one platform does not need to be recompiled to run on another. Java applications are typically compiled to bytecode (class file) that can run on any Java virtual machine (JVM) regardless of computer architecture. Strengths:WORA, popularity Weaknesses: Slower than natively compiled languages Sample syntax: class HelloWorldApp { public static void main(String[] args) { System.out.println("Hello World!"); } } C++ is a programming language that is general purpose, statically typed, free form, multi-paradigm and compiled. It is regarded as an intermediate-level language, as it comprises both high-level and low-level language features. Developed by Bjarne Stroustrup starting in 1979 at Bell Labs, C++ was originally named C with Classes, adding object oriented features, such as classes, and other enhancements to the C programming language. The language was renamed C++ in 1983, as a pun involving the increment operator. Strengths:Speed Weaknesses: Older and considered clumsy if compared to Java Sample syntax: #include using namespace std; void main(){ cout << "Hello World!"; } C# is a multi-paradigm programming language encompassing...

Words: 477 - Pages: 2

Premium Essay

Unit 2 Research Assignment

...Visual Basic is the first programming language with an exemplary number of variable naming rules. The msdn.microsoft.com article explains the rules well. To start a word you must use a letter of the alphabet as the first character. You cannot use a space, nor a period, nor an exclamation mark, or the special characters of @ (at), & (and), $ (dollar sign), # (pound key) in the name. The name cannot surpass 255 characters in total length either. Names have to be precisely identified if the variable name is the same as an already existing one. You cannot repeat names in the same scope without the name being a different variable type. Lastly, while Visual Basic is not case-sensitive, it keeps the capitalization in the statement where the name is defined. Python is the next programming language where it gives you slightly more freedom for a variable name. A name must begin with a letter, lowercase or uppercase or an underscore. Python is case sensitive as well, consistency is important for read-ability. The variable name can be any “reasonable” length according to w3resource.com. Lastly, there are some reserved words Python uses for other things, which yourself cannot use. Java is the last of the three programming languages and no surprising exception to the naming rules. Names are case-sensitive, while you can begin a variable name with the $ sign or _ symbol, it is highly discouraged. The docs.oracle.com documentation of Java variable names tells the reader to always change...

Words: 541 - Pages: 3

Premium Essay

Unit 2 Assignment 2 Personal And Communication Research

...You should make time to listen to others and give them your full attention, particularly when someone is asking for help or confiding in you. Making a conscious effort to get to know people, their likes, dislikes, beliefs and values, will help build relationships. You must show respect for others and be considerate, value everyone’s opinion and point of view, even when they are not the same as your own. Acknowledge different religious beliefs and values and make an effort to learn about them. Making sure to remember names and the way in which people prefer to be addressed will show that you are interested and will make people feel valued and respected as individuals. When communication is received via letter or email, even if you can’t answer it straight away, you should always acknowledge it and respond as soon as you are able to so the sender doesn’t feel ignored. It is important when communicating, whether it is written, verbal or otherwise, to be clear on any key points to avoid misunderstandings and possible upset or confusion. Question 3 Explain how: • Social background • Professional background • Cultural background affect relationships and the way people communicate. We need to be able to adapt the way we communicate and behave in certain situations so as not to exclude people from different social and/or cultural backgrounds. Whilst it is important to remain professional we should also remember that everyone is different and treat them accordingly. You may only have...

Words: 654 - Pages: 3

Free Essay

Unit 2 Assignment 1 Disk Redundancy Research

...Assignment Title Unit 2. Assignment 1. Disk Redundancy Research Assignment Overview: Using the Internet and the ITT Tech Virtual Library, research the following questions, and provide your thoughts on each one. Submit your answers in a Word Document and ensure that you cite any resources you utilized with the proper APA format. 1. What does RAID stand for? RAID stands for Redundant Array of Inexpensive Disks 2. When would we use RAID? 3. Define the following types of RAID: a.RAID 0: Striped Set -- A RAID 0 setup splits data evenly across two or more disks. It is important to note that RAID 0 was not one of the original RAID levels, and is not redundant. If one drive goes down your server will need to be restored from backup b. RAID 1 Mirrored Set -- A Raid 1 setup creates an exact copy (or mirror) of data on two or more disks. A typical setup just has two drives that are setup to mirror data. If one drive goes down your server will still be functional until a scheduled drive replacement can be installed. c. RAID 5 Striped Set with Parity -- A RAID 5 setup uses block-level striping with parity data distributed across all disks in the RAID Array. This means you can have one drive fail and your server will remain functional until a scheduled drive replacement can be installed. RAID 5 also increases read/write speeds while using the available disk space efficiently. d. RAID 6 Similar to RAID 5 but not as widely used, RAID 6 performs either two parity computations...

Words: 422 - Pages: 2

Free Essay

Unit 2 Assignment 1: Disk Redundancy Research

...Unit 2 Assignment 1: Disk Redundancy Research December 14, 2013 1) What does RAID stand for? RAID stands for? RAID stands for Redundant Array of Independent Disks. 2) When would we use RAID? RAID can be used by either individual users or large network users to store data across multiple locations to increase fault tolerance. 3) Define the following types of RAID: a) RAID 0 b) RAID 1 c) RAID 5 d) RAID 6 RAID 0 | Strips data without redundancy. Provides faster performance, but it lacks fault tolerance. | RAID 1 | Known as disk mirroring. This method doesn’t strip data, it saves all data intact across at least two disks to provide fault tolerance. | RAID 5 | Uses rotating parity to store data. There is do data duplication, but the parity data can be used to reconstruct data. Mostly used by large organizations for data that is not performance sensitive. | RAID 6 | Same as RAID 5, but adds another parity scheme to increase fault tolerance. | 4) Why is RAID 0 of any use if it offers no redundancy? RAID 0 allows data to be broken up in order to allow faster access to data. 5) Why do you think that RAID 1 can be the most expensive? Why would people utilize it if it’s so costly? RAID 1 can be the most expensive because it requires an entire drive to make a duplicate of any data and the more copies you want, the more drives you need. People still use is because it makes complete copies of data, not partial ones. The complete copies allow users...

Words: 405 - Pages: 2

Premium Essay

Mba 5652 Unit 2 Assignment Components of Research Proposal

...Research Proposal for the Application of Positive Psychology in Training Trainers Introduction Schooling for a number of is a far accomplishment venture. In its most central appearance in America, a individual is expectant to go to at least 12 years of education. Conventional student depart the instructive organization in their belatedly adolescences and either get on an didactic or vocation path, but still as grown-ups they meet many chance for education. University bound scholars choose for at least four or additional years at the university, while others look for work. Many businesses employ company instructors or Human Resources to carry out small training actions in the form of courses or career skills education. Even today’s jobless grown-ups are uncovered to edifying chances in local service place of work or from community support agencies. “In any of these face to face scenarios, a trainer, teacher or facilitator is needed. The trainer’s role in educating adults can encompass many different areas including encouraging growth, assisting adults with problems, preparing adults for current or future work activities or assisting organizations with achieving change” (Caffarella, 2002). Instructors are observation by agenda contributor as topic substance specialist. As such, the teachers has a liability to make a knowledge setting that will make sure accomplishment for grown-up student. Coaches should also be recognizable with chief ideology of grown-up education...

Words: 1861 - Pages: 8

Premium Essay

Aaaaa

...5652, Research Methods Course Syllabus Course Description Business research methods will guide students in advancing their knowledge of different research principles and their applicability in social research. Students will investigate a business-related issue in their content area and design a publishable research proposal. Course Textbook Zikmund, W. G., Babin, B. J., Carr, J. C., & Griffin, M. (2013). Business research methods (9th ed.). Mason, OH: South-Western. Course Learning Outcomes Upon completion of this course, students should be able to: 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. Design and plan a research study. Apply statistical methods to business research. Apply research techniques to commerce and business issues. Differentiate between descriptive and inferential statistics. Devise the sampling theory into appropriate sampling distributions. Write and test a hypothesis. Contrast and compare descriptive, correlational, and qualitative non-experimental research. Contrast and compare experimental and quasi-experimental research. Write a publishable research proposal paper using APA guidelines. Apply ethical research standards. Credits Upon completion of this course, the students will earn three (3) hours of college credit. Course Structure 1. Unit Learning Outcomes: Each unit contains Learning Outcomes that specify the measurable skills and knowledge students should gain upon completion of the unit. 2. Unit Lesson: Each unit contains...

Words: 3803 - Pages: 16

Premium Essay

Nt 1210

...ITT Technical Institute NT1210 Introduction to Networking Onsite Course SYLLABUS Credit hours: 4.5 Contact/Instructional hours: 56 (34 Theory Hours, 22 Lab Hours) Prerequisite(s) and/or Corequisite(s): Prerequisites: NT1110 Computer Structure and Logic or equivalent Course Description: This course serves as a foundation for the study of computer networking technologies. Concepts in data communications, such as signaling, coding and decoding, multiplexing, circuit switching and packet switching, OSI and TCP/IP models, LAN/WAN protocols, network devices and their functions, topologies and capabilities are discussed. Industry standards and the development of networking technologies are surveyed in conjunction with a basic awareness of software and hardware components used in typical networking and internetworking environments Introduction to Networking Syllabus Where Does This Course Belong? This course is required for the associate program in Network System Administration and the associate program in Electrical Engineering Technology. The following diagrams demonstrate how this course fits in each program. Associate Program in Network Systems Administration NT2799 NSA Capstone Project NT2580 Introduction to Information Security NT2670 Email and Web Services NT2640 IP Networking PT2520 Database Concepts NT1330 Client-Server Networking II NT1230 Client-Server Networking I NT1430 Linux Networking PT1420 Introduction to Programming NT1110...

Words: 4400 - Pages: 18

Premium Essay

Nt1210 Introduction to Networking Onsite Course

...ITT Technical Institute NT1210 Introduction to Networking Onsite Course SYLLABUS Credit hours: 4.5 Contact/Instructional hours: 56 (34 Theory Hours, 22 Lab Hours) Prerequisite(s) and/or Corequisite(s): Prerequisites: NT1110 Computer Structure and Logic or equivalent Course Description: This course serves as a foundation for the study of computer networking technologies. Concepts in data communications, such as signaling, coding and decoding, multiplexing, circuit switching and packet switching, OSI and TCP/IP models, LAN/WAN protocols, network devices and their functions, topologies and capabilities are discussed. Industry standards and the development of networking technologies are surveyed in conjunction with a basic awareness of software and hardware components used in typical networking and internetworking environments Introduction to Networking Syllabus Where Does This Course Belong? This course is required for the associate program in Network System Administration and the associate program in Electrical Engineering Technology. The following diagrams demonstrate how this course fits in each program. Associate Program in Network Systems Administration NT2799 NSA Capstone Project NT2580 Introduction to Information Security NT2670 Email and Web Services NT2640 IP Networking PT2520 Database Concepts NT1330 Client-Server Networking II NT1230 Client-Server Networking I NT1430 Linux Networking PT1420 Introduction to Programming NT1110...

Words: 4400 - Pages: 18

Premium Essay

Health Care

...BUS3006 Unit 3 Research Paper Topic Information Template Pre-requisite: Prior to working on this assignment, complete Unit 2 studies, discussions, and assignment. In addition, review the Unit 3 studies. Upon completing Unit 2, the next step in the research paper is to revise your research paper’s healthcare management-related topic and problem statement. As you compose this assignment avoid performing research and using citations. Internet research is not needed because you are sharing your thoughts and not those of another author. The six parts of the critical thinking process provided as a Resource will guide you to be successful in completing the assignment. Use this template by completing Section 1, Section 2, and Section 3, which will guide the composition needed for your assignment. Have fun and be sure to submit by Sunday of week 3 to assure you can then be successful with Unit 4’s course work. Note that this topic and problem statement will be the focus of your research worksheet for Unit 3 and Unit 4 discussions. | Name |Date Completed | | Siobahan Booker | 10/3/2012 | Section 1: Compose your chosen research paper topic using descriptive words. Suggested length is 6-12 words. Avoid pronouns. |Research Paper’s Healthcare Management-Related...

Words: 909 - Pages: 4

Premium Essay

Unit 1 Labs

...ITT TECHNICAL INSTITUTE NT1210 Introduction to Networking Onsite Course GRADED ASSIGNMENTS Graded Assignment Requirements Retain all handouts issued in every unit, as well as any assignment, research, or lab documents you prepare as part of assignments and labs. Some may be used more than once in different units. NOTE: Always check with your instructor for specific due dates of assignments. Graded Assignments Unit 1 Assignment 1: Computer Basics Review Course Objectives and Learning Outcomes Identify the major needs and major stakeholders for computer networks and network applications. Describe how digital devices store data. Describe the differences between input and output devices. Assignment Requirements In the Chapter Review Activities at the end of Chapter 1 in the Odom textbook (answers can be found in the textbook): Respond to the multiple-choice questions. Complete the List the Words inside Acronyms table. Required Resources Odom textbook Computer with word processing software Internet access Printer Submission Requirements: Submit your responses as a typed document using Arial or Times New Roman 12-point font, double-spaced. Label your assignment Unit 1 Assignment 1. Unit 2 Assignment 1: Identifying Network Topologies Course Objectives and Learning Outcomes * Identify the major needs and major stakeholders for computer networks and network applications. * Identify the classifications of networks and how they are...

Words: 16182 - Pages: 65

Free Essay

Capstone

...Course GRADED ASSIGNMENTS Table of Contents Graded Assignments 4 Unit 1 Journal 1: Personal Narrative 4 Unit 1 Journal 1: Personal Narrative Handout 6 Unit 1 Journal 2: Civic Narrative 9 Unit 1 Journal 2: Civic Narrative Handout 11 Unit 1 Assignment 1: What Would You Do? 12 Unit 2 Journal 1: Personal Narrative 13 Unit 2 Journal 1: Personal Narrative Handout 15 Unit 2 Journal 2: Civic Narrative 19 Unit 2 Journal 2: Civic Narrative Handout 20 Unit 2 Journal 3: Article Response 22 Unit 2 Assignment 1: What Would You Do? 23 Unit 2 Assignment 2: Declaration of Independence and Public Safety 25 Unit 3 Journal 1: Car Commercials 26 Unit 3 Journal 2: Personal Narrative 27 Unit 3 Journal 2: Personal Narrative Handout 28 Unit 3 Journal 3: Civic Narrative 31 Unit 3 Journal 3: Civic Narrative Handout 32 Unit 3 Journal 4: Taste vs. Judgment 34 Unit 3 Presentation 1: What Would You Do? 35 Unit 3 Assignment 1: Habits That Hinder Thinking 36 Unit 4 Journal 1: Invention Exercise 37 Unit 4 Journal 1: SWOT Analysis Template 38 Unit 4 Journal 2: Personal Narrative 39 Unit 4 Journal 2: Personal Narrative Handout 41 Unit 4 Journal 3: Civic Narrative 43 Unit 4 Journal 3: Civic Narrative Handout 44 Unit 4 Assignment 1: What Would You Do? 46 Unit 4 Assignment 2: Invention White Paper 47 Unit 5 Journal 1: Personal Narrative 48 Unit 5 Journal 1: Personal Narrative Handout 49 Unit 5 Journal 2: Civic Narrative 51 Unit 5 Journal 2: Civic Narrative...

Words: 30149 - Pages: 121

Premium Essay

Police Abuse Essay

...ITT TECHNICAL INSTITUTE NT1210 Introduction to Networking Onsite Course GRADED ASSIGNMENTS Graded Assignment Requirements Retain all handouts issued in every unit, as well as any assignment, research, or lab documents you prepare as part of assignments and labs. Some may be used more than once in different units. NOTE: Always check with your instructor for specific due dates of assignments. Graded Assignments Unit 1 Assignment 1: Computer Basics Review Course Objectives and Learning Outcomes * Identify the major needs and major stakeholders for computer networks and network applications. * Describe how digital devices store data. * Describe the differences between input and output devices. Assignment Requirements In the Chapter Review Activities at the end of Chapter 1 in the Odom textbook (answers can be found in the textbook): * Respond to the multiple-choice questions. * Complete the List the Words inside Acronyms table. Required Resources * Odom textbook * Computer with word processing software * Internet access * Printer Submission Requirements: Submit your responses as a typed document using Arial or Times New Roman 12-point font, double-spaced. Label your assignment Unit 1 Assignment 1. Unit 2 Assignment 1: Identifying Network Topologies Course Objectives and Learning Outcomes * Identify the major needs and major stakeholders for computer networks and network applications. * Identify the...

Words: 16043 - Pages: 65

Premium Essay

Anime

...Business Communication in English Parts I & II TMAENG17R1(E) 2015-2016 Contents 1 Introduction - 3 - 2 Programme - 4 - Programme Block 1 - 4 - Programme Block 2 - 5 - 3. Attendance ……………………………………………………………… ……………...6- 4. Literature ………………………………………………………………………………- 6- 5 Assignments Blocks 1 & 2 - 7 - Block 1: Oral Group Assignment - 7 - Block 2: Oral assignment - 9 - 6. Written Test - 10 - 7. Assessment Blocks 1 & 2 - 11 - 1 Introduction Welcome to the first English courses at TMA. In the next four years you will acquire a lot of knowledge and many skills for your future career. You will learn how to write a marketing plan and how to implement it, how to import and export products from and to Asia and how to do business with people from another culture. In this way you will lay the foundation for a career in international business. One skill you will certainly need in Asia is a good command of business English. These courses will help you acquire the specialised vocabulary that you will need. The words and expressions that you are going to learn are different from the words used in everyday English, so most of them will be new to you. Furthermore, you will develop your reading skills through reading texts in business English. In order to be able to express yourself in proper English you will also spend some time refreshing your knowledge of the English grammar. You will do all kinds of exercises, both in class...

Words: 1567 - Pages: 7