GoConqr has a new look! Let us know what you think.

Flashcards

110 Flash Cards

Alex Stout Computer Science Degree English 13 cards

Cards in this deck (13)

  1. 1String[] argsArguments for the program start
    java Driver hello world
    args[0] = "hello"
    args[1] = "world"
    useful when you want to pass arguments into the main function
  2. 2STRLENFinds the length of a string
  3. 3Malloc()allocate blocks of memory
  4. 4Free()Releases allocated memory
  5. 5private static string aids = "shez";Creates a constant string called aids that
    = "shez"
    Static = constant
  6. 6Public class MyClass{ ....Defines a new class called my class
  7. 7void timesByTwo(int x){ ...times x by two
    returns nothing (kinda useless)
    unless using Global variables
  8. 8Static Analysisgoing line by line to search for an error
  9. 9White box testingtesting of a program with knowledge of the inner workings of the program (knowing what the program is supposed to do)
  10. 10Char *a = "Shezisatwat";Address of the variable a
    contains "shezisatwat";
  11. 11Methods of encapsulation in javaMutators and Accessors
    Private and protected variables
  12. 12Cyclomatic ComplexityComplexity =
    E = Number of edges of the graph - arrows
    N = number of nodes in the graph
    +2
  13. 13STRCMPCompares 2 strings
    returns either 0, 1 or -1

Information

Description
Degree Computer Science Flashcards on 110 Flash Cards, created by Alex Stout on 26/05/2016.
Created by
Alex Stout · May 2016
Updated
Jun 1, 2016
Views
12
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?