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

  • Good Essays

    Indeed, Santa Claus is coming to town. Only this time, he's a "Secret Santa" in the form of a casino online video slot game provided by Microgaming. It's hard to imagine there would be slot players who won't enjoy playing the Secret Santa slot, even if it's only during the holiday season. Since the jackpots and excitement exist year-round, it makes perfect sense this game should be considered a keeper 365 games a year.…

    • 605 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    For Visual Basic a variable’s name must have a letter as the first character, you cannot use spaces, periods, or other special characters such as !@#. The name cannot exceed 255 characters. The variable should not have a similar name as the functions, statements, and methods, and the name cannot be repeated within the scope. This language is not case sensitive.…

    • 333 Words
    • 2 Pages
    Satisfactory 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

    Uppercase characters are distinct from lowercase characters. Using ALL uppercase letters are primarily used to identify constant variables. Remember that variable names are…

    • 368 Words
    • 2 Pages
    Satisfactory 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
  • 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
  • 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

    Visual Basic

    • 5657 Words
    • 23 Pages

    The characteristics and data types of Visual Basic elucidated its advantages and disadvantages. Visual Basic is a popular event-driven visual programming system from Microsoft Corporation for Microsoft Windows (Morley, 2008). It is an Integrated Development Environment (IDE), which uses a Graphical User Interface (GUI) to create and modify code (Capron, 2004). It enables Rapid Application Development (RAD) of graphical user interface applications, access to databases using Data Access Objects (DAO), Remote Data Objects (RDO), or Active X Data Objects (ADO), and creation of Active X Controls and objects (Zak, 2004). It is an advanced structure dialect intended to help programmers to develop quite complex applications (Joos, 2001). It is an extremely powerful third-generation compiled language capable of both text and graphics (Bell, 2002). It is the visual form of BASIC (Beginners’ All-purpose Symbolic Instruction Code), a language that emphasizes ease of use (Capron, 2004).…

    • 5657 Words
    • 23 Pages
    Powerful 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