Preview

Pt1420 Unit 2 Research Assignment

Good Essays
Open Document
Open Document
878 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Pt1420 Unit 2 Research Assignment
Unit 2 Research Assignment
Variable Naming Rules

Introduction
This paper will describe the variable naming rules of three different programming languages. These three languages are Visual Basic, Python, and Java. Each of these languages has different rules that apply to them and some similarities. I will describe the rules and the similarities and differences in the next few paragraphs.
Key Findings
The first language and its rules I will describe is Visual Basic. Visual Basic has a few different rules and they are described on Microsoft’s website in a document. This document is called (“Visual Basic Naming Rules”) and they read as such:
You must use a letter as the first character.
You can 't use a space, period (.), exclamation mark (!), or the characters @, &, $, # in the name.
Name can 't exceed 255 characters in length.
Generally, you shouldn 't use any names that are the same as the functions, statements, and
…show more content…
Some similarities in these programs are that there are specific words you cannot use in each language. These words are generally reserved for some other part of the language and if the is not some kind of distinction between the words this will cause an error. Though these languages have minor similarities they differ in the same way, some are case sensitive while others are not. They also say that most variables should begin with a letter but in two of these programs they can begin with an underscore and in Java you can use a dollar sign as well. Another key difference is the length of the variable name, in Visual Basic you are limited to a length of 255 characters while the other two have no restrictions on length. So for each language there are minor similarities and differences but in order to program in any of these languages you must know these rules in order to prevent errors from

You May Also Find These Documents Helpful

  • Powerful Essays

    Pt1420 Unit 3 Assignment

    • 3509 Words
    • 15 Pages

    As a developer I was involved in collecting the requirements from business end user, according understood the business needs and involved in designing the universe for sales department ,As a first step we understand the structure of the universe and depending upon the fact tables n dimension tables created classes ,objects ,defined joins ,cardinalities ,created derived tables, custom Hierarchies .…

    • 3509 Words
    • 15 Pages
    Powerful Essays
  • Good Essays

    This shows that there must be atleast one letter present for being identified as an identifier. It can have any number of letters in an identifier but they should be in lower-case.…

    • 703 Words
    • 3 Pages
    Good Essays
  • Good Essays

    It is major to see that private broadband speed ask for has an immensely fluctuating character. Families move stunningly in their centrality of usage, the kind of occupations they use their relationship for and the measure of progress these applications make. In this consider, we address this respectable mix by constraining between different groupings of customers, and our general outcomes are midpoints over these outlines. While the advance of the intensity for exchange speed is related to that of download speeds, their improvements are not by any associate of the creative vitality poorly characterized. Despite phenomenal things, download speeds are from time to time more desperate to customers as they are dependably holding up to use substance or use an application, while they are normally less squashed while exchanging data.…

    • 626 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Bel313 Notes

    • 830 Words
    • 4 Pages

    For each of the following, make sure the use/ mention distinction is being correctly represented with the use of quotation marks.…

    • 830 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Declare Sub publicname Lib "libname" [Alias "alias"] [([[ByVal] variable [As type] [,[ByVal] variable [As type]]...])]…

    • 258 Words
    • 1 Page
    Satisfactory Essays
  • Better Essays

    iv. Names for Java classes follow the same rules as for variable names. It is convention that each word in the class name begins with an upper case letter.…

    • 939 Words
    • 4 Pages
    Better Essays
  • Satisfactory Essays

    Deitel, H.M., & Deitel, P.J. (2002). Java: How to program (6th ed.). Upper Saddle River, NJ: Pearson…

    • 253 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Apa Method

    • 1348 Words
    • 6 Pages

    * When the names are in a parenthetical citation, use an ampersand (&) to separate them.…

    • 1348 Words
    • 6 Pages
    Satisfactory Essays
  • Good Essays

    References: Deitel, H.M., & Deitel, P.J. (2002). Java: How to program (6th ed.). Upper Saddle River, NJ: Pearson Education…

    • 356 Words
    • 2 Pages
    Good Essays
  • Good Essays

    When writing code for a program it is very important to make sure that you use the best language for what the client needs. Prior to making a decision on what language to use, a programmer needs to decide which method he or she wants to use. The two most common methods used by coders in the field today are procedural and object oriented programming (OOP). Making the decision to use an incorrect option could run cause problems during the maintenance stage of the software’s life cycle. Taking the time to determine just what the client needs will assist a programmer with deciding on the proper method to use.…

    • 563 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Coding Conventions

    • 377 Words
    • 3 Pages

    ○ Names should be formed only from the 26 upper and lower case letters (A .. Z,…

    • 377 Words
    • 3 Pages
    Good Essays
  • Good Essays

    1.) Deitel, H.M., & Deitel, P.J. (2002). Java: How to program (6th ed.). Upper Saddle River, Nj: Pearson Education.…

    • 382 Words
    • 1 Page
    Good Essays
  • Powerful Essays

    Visual Basic

    • 5657 Words
    • 23 Pages

    In 1988, Alan Cooper, the father of Visual Basic, showed a drag and drop shell prototype called Tripod to Bill Gates. Microsoft immediately bought the concept. They contracted with Cooper and his associates to develop Tripod into a programmable form system for Windows 3.0, under the code name “Ruby”. But Tripod did not include a programming language at all. So, Microsoft decided to combine Ruby with BASIC language to create Visual Basic. Ruby employed a string-based system of messages between controls. The first conservative draft of ideas included simply replacing the crude string language with BASIC. But these messages were modeled in a graph-like user interface whose complexity scaled rather poorly from shell construction set to general programming environment. So such ideas were quickly considered unworthy. The event model was evolving for Omega and could be modeled into unified concept suitable for…

    • 5657 Words
    • 23 Pages
    Powerful Essays
  • Satisfactory Essays

    Creating an Application

    • 13688 Words
    • 121 Pages

    2005, Visual Basic 2008 and the latest Visual Basic 2010. Visual Basic 2010 is a…

    • 13688 Words
    • 121 Pages
    Satisfactory Essays
  • Powerful Essays

    Internet Programming

    • 3008 Words
    • 13 Pages

    Over the last few years the scripting programming languages made a giant leap ahead. About ten years ago they were viewed as an axillar tools, not really suitable for general programming parse. Now they generate a tremendous amount of interest both in academic circles and in the software industry.…

    • 3008 Words
    • 13 Pages
    Powerful Essays