×
Log in to StudySoup
Get Full Access to UAH - CS 121 - Class Notes - Week 10
Join StudySoup
Get Full Access to UAH - CS 121 - Class Notes - Week 10

Already have an account? Login here
×
Reset your password

UAH / Engineering / CS 121 / What is the bitwise operators?

What is the bitwise operators?

What is the bitwise operators?

Description

School: University of Alabama - Huntsville
Department: Engineering
Course: Computer Science I
Professor: Richard coleman
Term: Spring 2017
Tags: Computer Science and Intro to Computer Science; Computer Science
Cost: Free
Name: CS 121, On Bitwise Operators
Description: These notes detail bitwise operators, what they are, and what each of them does.
Uploaded: 04/30/2017
1 Pages 228 Views 0 Unlocks
Reviews


Bitwise Operators

<< - left shift (takes all of the bits and shift them over however many  spaces)

>> - right shift (takes all of the bits and shifts them over to the right  however many spaces)

If any bits fall off, more zeros are rolled in from the opposite side & - bitwise AND (just like logical AND that involves two bits) |- bitwise OR (just like logical OR which involves two bits)  We also discuss several other topics like What are the different types of risk factors at multiple levels of the ecology?

^ - bitwise Exclusive OR (XOR) (only works if one bit (and only one) is set  to 1

~ - bit inversion (all of the bits get flipped to their opposites)

TYPE

BYTES

BITS

HEXADECIMAL

char

1

0000 0000

0x00

short

2

0000 0000 0000  0000

0x000

int

3

0000 0000 0000  0000 0000 0000

0x0000

long

4

0000 0000 0000  0000 0000 0000

0x00000

If you want to learn more check out uga csci

*phase 6 - add flags and functions to describe room contents

1) Add the function prototype for room description contents w/ int  roomDesc, int row, init col If you want to learn more check out towson university niche
We also discuss several other topics like fred choobineh

2) Add the function previously described as a prototype Don't forget about the age old question of What is Coevolution hypothesis?

3) Add creatures to room descriptions

4) Tell the user if the creature is dangerous or not

5) Check for item definitions

6) Check for treasure items If you want to learn more check out • What are rewards intended to do?

7) Check the doors

8) Test the function using the proper test procedure

9) Get ready for phase 7 by deciding the location of treasure items, other items, and creatures  

Page Expired
5off
It looks like your free minutes have expired! Lucky for you we have all the content you need, just sign up here