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

    2.What number does a bit that is turned on represent? What number does a bit that is turned off represent? On is 1 and Off is 2…

    • 286 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
  • Good Essays

    Pt1420 Unit 4 Assignment

    • 377 Words
    • 2 Pages

    1. Name(s) of nation, major islands/island groups, capital - indigenous as well as colonial names.…

    • 377 Words
    • 2 Pages
    Good 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

    When using Python, the naming rules are very similar to Visual Basic and Java. As such is it must begin with a letter (a-z, A-B) or with the underscore (_) character. The use other characters such as letters, numbers and the underscore character is permitted but “whitespace” is not permitted and may cause errors to occur when executing the code. According to Python, “CapitalizedWords (or CapWords, or CamelCase -- so named because of the bumpy look of its letters)…

    • 738 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Pt1420 Unit 2 Assignment

    • 1381 Words
    • 6 Pages

    Person reported she played marbles and card games with eight other siblings, also reported that she and her siblings would be outdoors most of the time, as back in her day, not everyone had a TV and her family were too poor to afford one, so therefore they would play family based games where everyone could participate. She reported that she left school after year seven to help her mother with chores and look after younger siblings. She had a lot of responsibility for a kid.…

    • 1381 Words
    • 6 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