Preview

PT1420 Unit 2 Research Assignment 1

Satisfactory Essays
Open Document
Open Document
218 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
PT1420 Unit 2 Research Assignment 1
Unit 2 Research Assignment 1: Researching Variable Naming Rules
Visual Basic
You can't use a space, period (.), exclamation mark (!), or the characters @, &, $, # in the name.
You must use a letter as the first character.
You can’t use any names that are the same as the functions, statements, and methods.
The name can't exceed 255 characters in length.
You can’t repeat names within the same level of scope.
Python
There are some reserved words which you cannot use
Other characters can be letters, numbers or _
Case Sensitive
Must begin with a letter (a - z, A - B) or underscore (_)
Can be any (reasonable) length
Java
Cannot begin with a number
Must begin with a letter (a - z, A - B) or underscore (_)
Can be any (reasonable) length
Uppercase characters are distinct from lowercase characters.
Similarities & Differences
Similarities in the languages are that their variables should be made up of Alphanumeric characters. Another similarity is they should refrain from using most symbols. A third similarity is each has reserved words that the language uses for its own purposes.
A difference is that they are not all case sensitive. Another difference is not all of them use the same reserved words for functions and methods. A third difference is Java and Python are platform independent while visual basic is not.

You May Also Find These Documents Helpful

  • Satisfactory Essays

    PT1420 U8 Homework

    • 431 Words
    • 4 Pages

    6. a loop that never hits a max value or that never turns true is infinite…

    • 431 Words
    • 4 Pages
    Satisfactory Essays
  • Good Essays

    When a client connects to the MySQL server, the server uses the username provided by the client and the client host to select the appropriate account row from the mysql.user table. It then uses this row to authenticate the client. Before MySQL 5.5.7, the server authenticates the password provided by the client against the Password column of the account row.…

    • 406 Words
    • 2 Pages
    Good Essays
  • Powerful Essays

    Microsoft visual Basic 6.0 is a third-Generation event-driven programming language and integrated (IDE) from Microsoft for its COM programming model first released in 1991.…

    • 1214 Words
    • 5 Pages
    Powerful Essays
  • Powerful Essays

    Pt1420 Unit 7 Homework

    • 2430 Words
    • 10 Pages

    From my table of values above, it is clear that the change of sign from negative…

    • 2430 Words
    • 10 Pages
    Powerful 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

    Pt1420 Unit 3 Assignment

    • 2806 Words
    • 12 Pages

    Essential Standards Portfolio Assignment The Essential Standards and Mathematical Terms you will be using in this Unit are in blue text below. Essential Standards Mathematical Terms Graphing a Polynomial Function, Finding Zeroes/Solutions to a Polynomial Polynomial Functions Function Center and Vertices, Foci, Major and Minor Axes, Standard Equation for an Conic Sections - Ellipse Ellipse Center and Vertices, Foci, Transverse and Conic Sections Conjugate Axes, Asymptotes, Standard Hyperbola Equation for a Hyperbola Solving a Rational Expression Using Exponents, Solving a Rational Expression Rational Functions from a Graph Binomial Theorem Expansion Binomial Theorem Combinations and Combinations, Permutation Permutations Points 3 The…

    • 2806 Words
    • 12 Pages
    Good Essays
  • Satisfactory Essays

    To reference a variable, you use a dollar sign ($) in front of it or enclose it in curly brackets.…

    • 604 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    SEQUEL or SQL is a data language that provides benefits for all types of users. SQL’s purpose is to provide an interface to a relational database such as Oracle Database. Dr. Edgar Frank “Ted” Codd introduced the first commercially available implementation of SQL. Today, SQL is accepted as the standard RDBMS language. The features of SQL include processing sets of data as groups rather than as individual units and providing automatic navigation to the data. It uses statements that are complex and powerful individually, and that therefore stand alone. Flow-control statements were not part of SQL originally, but they are found in the recently accepted optional part of SQL. Flow-control statements are commonly known as "persistent stored modules" (PSM), and the PL/SQL extension to Oracle SQL is similar to PSM.…

    • 452 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    You can't use a space, period (.), exclamation mark (!), or the characters @, &, $, # in the name.…

    • 368 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Pt1420 Unit 6 Assignment

    • 606 Words
    • 3 Pages

    When the activity was first assigned each member of the group was assigned a different part of the assignment. For, my part in the assignment I was assigned to complete the evaluation tool. The other three members were assigned one of the other three parts left in the activity. When, it came to deciding the activity we each came up with an idea, but then we eventually decided that we would do softball. After that, during the process there were group meetings held to figure the best way for the activity to be run, and how each member was doing with their part of the assignment. I was a little confused with the fact that I wasn’t assigned more work to do. In my opinion, I felt that I could’ve done more than just the evaluation tool I wanted to contribute more to the group. Beyond that, it confused me that during the activity, it took us a while to decide to let each batter have a runner with and…

    • 606 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    UNIT 2

    • 470 Words
    • 3 Pages

    5.) Write the pseudocode for a program that will determine the average miles per gallon a car gets. (Inputs should be miles driven and gallons of gas used)…

    • 470 Words
    • 3 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
  • Good Essays

    Java’s rules and conventions for naming variables within its language must be abided by the programmer who wants to create a code effectively and efficiently. There are four (4) types of variables that are defined by the language: Instance, Class, Local and Parameters The variable names Java uses are case-sensitive. They may also be “…an unlimited-length sequence of Unicode letters and digits, beginning with a letter, the dollar sign "$", or the underscore character (_)” also the use of “subsequent characters may be letters, digits, dollar signs, or the underscore character” (Oracle ). It is advised, when using Java, to use naming variables that are full words and to avoid the use of short cryptic word abbreviations or mnemonics. However, the naming variable may not be used if it is a keyword or reserved word. If the name you choose consists of only one word, spell that word in all lowercase letters. If it consists of more than one word, capitalize the first letter of each subsequent word. Java’s programming language uses the ‘Declare’ convention in order for the naming variable to be used within the code.…

    • 738 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    C# String Functions

    • 325 Words
    • 2 Pages

    - Reports the zero-based index position of the last occurrence of a specified string within this instance.…

    • 325 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    C SHARP FUNDAMENTALS

    • 4128 Words
    • 20 Pages

    A class is a construct that enables you to create your own custom types by grouping together variables of other types, methods and events. A class is like a blueprint. It defines the data and behaviour of a type. If the class is not declared as static, client code can use it by creating objects or instances which are assigned to a variable. The variable remains in memory until all references to it go out of scope. At that time, the CLR marks it as eligible for garbage collection. If the class is declared as static, then only one copy exists in memory and client code can only access it through the class itself, not an instance variable. For more information, see Static Classes and Static Class Members (C# Programming Guide).…

    • 4128 Words
    • 20 Pages
    Good Essays