zuknow learn together

新しい教材を作成

Symbols

カード 30枚 作成者: Joseph (作成日: 2013/12/04)

  • { }

解説面  クリックしてカードを裏返す

アプリをダウンロードして、このコンテンツを学習しよう! AppStore / Google Play

教材の説明:

Programming Symbols

公開範囲:

公開

カテゴリ:

言語:

  • カード表 : 英語
  • カード裏 : 英語
  • このエントリーをはてなブックマークに追加
  • 1

    { }

    補足(例文と訳など)

    答え

    • Curly brackets - used to define a set of code. Variables defined within a set of curly brackets are accessible only within the curly brackets.

    解説

  • 2

    ( )

    補足(例文と訳など)

    答え

    • Parentheses - used in conditional statements, method signatures, method calls, casting, and to add precedence or order to the evaluation of a statement or expression.

    解説

  • 3

    [ ]

    補足(例文と訳など)

    答え

    • Square brackets - used to define an array.

    解説

  • 4

    ;

    補足(例文と訳など)

    答え

    • Semicolon - used to define a statement - used at the end of simple statements (similar to a period at the end of a sentence), also used between pieces of a for loop and at the end of a do-while loop statement.

    解説

  • 5

    ,

    補足(例文と訳など)

    答え

    • Comma - used to differentiate between different elements within a parameter list or variable declaration statement.

    解説

  • 6

    ==

    補足(例文と訳など)

    答え

    • Equals - two equals signs are used to compare values within primitive variables and compare memory locations of object type variables.

    解説

  • 7

    =

    補足(例文と訳など)

    答え

    • Equals - assignment operator, used to give a variable a value.

    解説

  • 8

    +=

    補足(例文と訳など)

    答え

    • Plus Equals' - compound assignment operator where the variable before is used in the assignment and addition, for example:int x = 5; x += 10; // same as x = x + 10;

    解説

  • 9

    -=

    補足(例文と訳など)

    答え

    • Minus Equals' - compound assignment operator where the variable before is used in the assignment and subtraction, for example: int x = 5; x -= 10; // same as x = x - 10;

    解説

  • 10

    *=

    補足(例文と訳など)

    答え

    • Times Equals' - compound assignment operator where the variable before is used in the assignment and multiplication, for example: int x = 5; x *= 10; // same as x = x * 10;

    解説

  • 11

    /=

    補足(例文と訳など)

    答え

    • Divided By Equals' - compound assignment operator where the variable before is used in the assignment and division, for example: int x = 5; x /= 10; // same as x = x / 10;

    解説

  • 12

    %=

    補足(例文と訳など)

    答え

    • Mod Equals' - compound assignment operator where the variable before is used in the assignment and modulus, for example: int x = 5; x %= 10; // same as x = x % 10;

    解説

  • 13

    !

    補足(例文と訳など)

    答え

    • Not - this symbol is used with boolean variables or boolean expressions, is created the opposite of the value, for example: boolean val = ! ( 5 > 4 ); //value is ! (true) = false

    解説

  • 14

    ||

    補足(例文と訳など)

    答え

    • Or - this operand is used to create a compound boolean expression, for example: int x = 5; boolean val = (x >= 5) || (x < 10); T || T = true, T || F = true, F || T = true, F || F = false

    解説

  • 15

    &&

    補足(例文と訳など)

    答え

    • And - this operand is used to create a compound boolean expression, for example: int x = 5; boolean val = (x >= 5) && (x < 10); T && T = true, T && F = false, F && T = false, F && F = false

    解説

  • 16

    ++

    補足(例文と訳など)

    答え

    • Increment by one - these symbols are used to increase a variable's value by one: int x = 5; int z = x++; // x now has a value of 6, z has a value of 5 int y = ++x; // x now has a value of 7, y has a value of 7

    解説

  • 17

    --

    補足(例文と訳など)

    答え

    • Decrement by one - these symbols are used to decrease a variable's value by one: int x = 5; int z = x--; // x now has a value of 4, z has a value of 5 int y = --x; // x now has a value of 3, y has a value of 3

    解説

  • 18

    +

    補足(例文と訳など)

    答え

    • Addition - symbol used to add two numerical values together or to concatenate (add) two Strings together. int x = 5 + 6; // x has a value of 11 String words = "Hello" + " " + "World"; // words has a value of "Hello World"

    解説

  • 19

    -

    補足(例文と訳など)

    答え

    • Subtraction - symbol used to subtract one numerical value from another.

    解説

  • 20

    *

    補足(例文と訳など)

    答え

    • Multiplication - symbol used to multiple two numbers together.

    解説

  • 21

    /

    補足(例文と訳など)

    答え

    • Division - symbol used to divide one number by another, if an int is divided by another int an int is returned, if a double and an int or a double and a double are used in the division, a double is returned.

    解説

  • 22

    %

    補足(例文と訳など)

    答え

    • Modulus - symbol used to determine the remainder that is left over after dividing one number by another, for example: int x = 5 % 3; // 5 divided by 3 is 1, remainder 2 - x has a value of 2.

    解説

  • 23

    <

    補足(例文と訳など)

    答え

    • Less Than - used in a boolean expression to compare two primitive values, it results in true or false. boolean found = 5 < 3; // result is false

    解説

  • 24

    <=

    補足(例文と訳など)

    答え

    • Less Than or Equal To - used in a boolean expression to compare two primitive values, it results in true or false. boolean found = 5 <= 5; // result is false

    解説

  • 25

    >

    補足(例文と訳など)

    答え

    • Greater Than - used in a boolean expression to compare two primitive values, it results in true or false. boolean found = 5 > 3; // result is true

    解説

  • 26

    >=

    補足(例文と訳など)

    答え

    • Greater Than - used in a boolean expression to compare two primitive values, it results in true or false. boolean found = 5 >= 6; // result is false

    解説

  • 27

    !=

    補足(例文と訳など)

    答え

    • Not Equal To - used in a boolean expression to result in true or false. True if the 2 primitives are not the same, false otherwise. boolean found = 5 != 5; // returns false

    解説

  • 28

    Assignment Operators

    補足(例文と訳など)

    答え

    • Set of symbols used to assign a value to a variable. Includes: =, +=, -=, *=, /=, and %=

    解説

  • 29

    Arithmethic Operators

    補足(例文と訳など)

    答え

    • Set of symbols used in mathematical calculations. Includes: +, -, *, /, %

    解説

  • 30

    Relational Operators

    補足(例文と訳など)

    答え

    • Set of symbols used in the comparison of a value to another. Includes: <, >, <=, >=, ==, and !=

    解説

56900

セットの学習コンテンツ

公開初月で
60,000
ダウン
ロード!

無料アプリはこちら!

英単語をウェブサイト
からzuknowに簡単登録

覚えたい単語を選択するだけ!
簡単にzuknowに登録することが
できます

Get the free Chrome Extension

トップ