{ "@context": "https://schema.org", "@type": "Organization", "name": "Brainscape", "url": "https://www.brainscape.com/", "logo": "https://www.brainscape.com/pks/images/cms/public-views/shared/Brainscape-logo-c4e172b280b4616f7fda.svg", "sameAs": [ "https://www.facebook.com/Brainscape", "https://x.com/brainscape", "https://www.linkedin.com/company/brainscape", "https://www.instagram.com/brainscape/", "https://www.tiktok.com/@brainscapeu", "https://www.pinterest.com/brainscape/", "https://www.youtube.com/@BrainscapeNY" ], "contactPoint": { "@type": "ContactPoint", "telephone": "(929) 334-4005", "contactType": "customer service", "availableLanguage": ["English"] }, "founder": { "@type": "Person", "name": "Andrew Cohen" }, "description": "Brainscape’s spaced repetition system is proven to DOUBLE learning results! Find, make, and study flashcards online or in our mobile app. Serious learners only.", "address": { "@type": "PostalAddress", "streetAddress": "159 W 25th St, Ste 517", "addressLocality": "New York", "addressRegion": "NY", "postalCode": "10001", "addressCountry": "USA" } }

Operators Flashcards

(9 cards)

1
Q

x + y (numeric)

A

Adds x and y together

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

x + y (string)

A

Concatenates x and y together

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

x - y

A

Subtracts y from x

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

x * y

A

Multiplies x and y together

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

x / y

A

Divides x by y

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

x % y

A

Modulus: The remainder when x is divided by y

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

x++, ++x

A

Adds one to x

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

x–, –x

A

Subtracts one from x

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

-x

A

Reverses the sign on x

How well did you know this?
1
Not at all
2
3
4
5
Perfectly