googleads

Articles

Data Types & Operators for CS-0478 & 2210

Computer Science – 0478/2210

Worksheet on Data Types
By Sabihuddin XXXXX XXXXXX

 

1. Choose the correct words

Fill in the proper data types in each of the blanks from the given choices. 

number, date, unary, binary, ternary, string, image, Boolean, analog, decimal, hybrid, digital, text, unique


1. The data which accepts numbers only is known as _________________
2. Numbered data can be divided into two further sub-types such as ______________ and _______________.
3. A three-two digit data types is _______________
4. A data type which has two logical states is known as ____________
5. To store a picture there is another type of data known as _____________
6. To store a mix of characters and numbers ____________ data type is used
7. A set of characters or letters, numbers, special characters and some big data is _________ types of data.
8. Numbered data is a __________ type of data
9. _______________ is a combination of digital and analog data.
10. Numbered data has another sub-type deals with fractions is known as ________________.
11. Special types of operators are ____________, __________________ & ________________.

2. Write 2 examples of numbered data

1. ………………………………………………………………………………………………………………………………………………………..

2. ………………………………………………………………………………………………………………………………………………………..

3. Write 2 examples of analog data

1. ………………………………………………………………………………………………………………………………………………………..

2. ………………………………………………………………………………………………………………………………………………………..

4. Write 2 situations where Hybrid data can be used

1. ………………………………………………………………………………………………………………………………………………………..

2. ………………………………………………………………………………………………………………………………………………………..

5. Explain Variable. Give 2 examples

……………………………………………………………………………………………………………………………………………………………

……………………………………………………………………………………………………………………………………………………………

 
Examples:

1. ………………………………………………………………………………………………………………………………………………………..

2. ………………………………………………………………………………………………………………………………………………………..

6. Explain Identifier. Give 2 examples

……………………………………………………………………………………………………………………………………………………………

……………………………………………………………………………………………………………………………………………………………

Examples:

1. ………………………………………………………………………………………………………………………………………………………..

2. ………………………………………………………………………………………………………………………………………………………..

7. Explain constant. Give two examples

……………………………………………………………………………………………………………………………………………………………

……………………………………………………………………………………………………………………………………………………………

Examples:

1. ………………………………………………………………………………………………………………………………………………………..

2. ………………………………………………………………………………………………………………………………………………………..

8. Explain concatenation (where you join two strings with the ‘+’ operator). Give two examples

……………………………………………………………………………………………………………………………………………………………

……………………………………………………………………………………………………………………………………………………………

Examples:

1. ………………………………………………………………………………………………………………………………………………………..

2. ………………………………………………………………………………………………………………………………………………………..

9. Explain operator in connection with operands. Give 2 examples

……………………………………………………………………………………………………………………………………………………………

……………………………………………………………………………………………………………………………………………………………

 
Examples:

1. ………………………………………………………………………………………………………………………………………………………..


2. ………………………………………………………………………………………………………………………………………………………..

10. Explain the difference between assignment and equals to operator. Give 2 examples

1. ……………………………………………………………………………………………………………………………………………………………

2. ……………………………………………………………………………………………………………………………………………………………

Examples:

1. ………………………………………………………………………………………………………………………………………………………..

2. ………………………………………………………………………………………………………………………………………………………..

11. Complete the arithmetic operators table below:

test

12. Complete the relational operators table below:

 test

13. Complete the logical operators table below:
test

 

Filed Under: Data Types & Operators


facebook twitter facebook linkedin More +

Sabihuddin

 

Author Information

User Type: Tutor  Verified
Name: Sabihuddin
Uploaded Date: Jan 13,2016

About The Author

I am an IT Professional with rich experience of Programming languages such as Java/C#/C/C++ and website development. I have also gained teaching experience of O/AS/A level computer science and AICT. I have been working on Computer Applications on Java with Edupedia World. I also worked .... Read More

Comments