Single and double are the types of (a) Integer data type (b) Decimal numbers -Technology

1 Answer

Answer :

(d) Date/Time will be the data type because it allows storing date and time format.

Related questions

Description : An integer takes a storage size of (a) 2 bytes (b) 1 byte -Technology

Last Answer : (a) An integer takes a storage size of 2 bytes.

Description : It is not important to specify an integer value as the width of the border of an image. -Technology

Last Answer : False Width takes an integer values that are in pixels.

Description : Rewrite the following code using switch case: int day=Integer.parseInt(jTextField1.getText()); -Technology

Last Answer : int day=Integer.parseInt(jTextField1.getText());switch(day){case 1:case 2:case 3:case 4:case 5:jOptionPane1.showMessageDialog(this, 'Working Day'); break;case 6:case 7:jOptionPane1.showMessageDialog(this, 'Off Day'); break;default:jOptionPane1.showMessageDialog(this, 'Invalid Entry');}

Description : Briefly explain how to convert a string representation of a number to a numeric type, such as an Integer or a Double.

Last Answer : All numeric data types have a Parse method that accepts a string parameter and returns the value represented by that string cast to the appropriate data type. You can use the Parse method of each data type to convert strings to that type.

Description : What happens when you enter numbers in a Text data type field? -Technology

Last Answer : Numbers are accepted as a text value.

Description : Name the data type that should be used to store Student’s Admission numbers. -Technology

Last Answer : Data type should be Text.

Description : How does the method for solving equations with fractional or decimal coefficients and constants compare with the method for solving equations with an integer coefficients and constants?

Last Answer : The answer depends on how advanced your methods are. In general,the methods are the same except that if you have repeatingdecimals, they may cause rounding errors.

Description : Is negative 3.25 repeating decimal an integer?

Last Answer : No because integers are whole numbers without decimals orfractions

Description : A number with both integer and a fractional part has digits raised to both positive and negative powers of 2 in a decimal number system. a) True b) False

Last Answer : Answer: b Explanation: In a decimal number system, a number with both integer and a fractional part has digits raised to both positive and negative powers of 10 and not 2. e.g. 22.34 = 2 * 101 + 2 * 100 + 3 * 10-1 + 4 * 10-2

Description : An integer constant in C must have A) At least one digit B) At least one decimal point C) A comma along with digits D) Digits separated by commas

Last Answer : A) At least one digit

Description : Write a C++ program to swap two integer numbers and swap two float numbers using function overloading.

Last Answer : #include<iostream.h> #include<conio.h> void swap(int a,int b) { int temp; temp=a;  a=b;  b=temp; cout<<"\nInteger values after swapping are:"<<a<<" "< ... { clrscr(); swap(10,20); swap(10.15f,20.25f); getch(); }

Description : Develop a simple ‘C’ program for addition and multiplication of two integer numbers.

Last Answer : #include<stdio.h> #include<conio.h> void main() { int a,b,add,mul; clrscr(); printf("Enter value for a and b:"); scanf("%d%d",&a,&b); add=a+b; ... b=%d\n",add); printf("\Multiplication of a and b=%d",mul); getch(); }

Description : If there are n integers to sort, each integer has d digits and each digit is in the set {1,2, ..., k}, radix sort can sort the numbers in: (A) O(d n k) (B) O(d nk) (C) O((d+n)k) (D) O(d(n+k))

Last Answer : (D) O(d(n+k))

Description : A 300mm diameter pipe, 5mm wall thickness is to be radiographed using the double wall single image technique. The source to be used is Iridium. Which of the following statements is true? a) ... problem with the technique d) Only the double wall, double image technique should be used with Iridium

Last Answer : c) There is no problem with the technique

Description : Compression method use for Integer type data a. Huffman b. LZ77 c. Golomb Code d. Adaptive Huffman

Last Answer : c. Golomb Code

Description : What is the data type of (1)? a) Tuple b) Integer c) List d) Both tuple and integer

Last Answer : b) Integer

Description : The attribute helps to align data vertical in a single cell. (a) align (b) valign -Technology

Last Answer : (b) valign attribute is used to align data vertically in a single cell.

Description : If you want to display uppercase alphabets instead of numbers, ………… ordered type should you use. -Technology

Last Answer : If you want to display uppercase alphabets instead of numbers, Aordered type should you use.

Description : An application can be opened through shortcut on the desktop by (a) Double clicking on its shortcut (b) Selecting the icon and pressing Enter -Technology

Last Answer : (d) An application can be opened through the shortcut made on desktop by double clicking on its shortcut icon, pressing Enter or Right clicking and choosing Open button.

Description : The values of the attributes are enclosed in double question marks. -Technology

Last Answer : False The values of the attributes are enclosed in double quotation marks.

Description : To specify the number of decimal places in a cell the ……………… tab of the Format cells dialog is used. -Technology

Last Answer : To specify the number of decimal places in a cell the Fill series tab of the Format cells dialog is used.

Description : Consider the decimal number x with value 8459.2654. Write commands in SQL to: i. round it off to a whole number -Technology

Last Answer : i. select round(8459.2654);ii.select round(8459.2654,-2);

Description : Consider the following database table : Create table test( one integer, two integer, primary key(one), unique(two), check(one≥1 and ≤10), check(two≥1 and ≤5) ); How many data records/tuples atmost can this table contain ?  (A) 5 (B) 10 (C) 15 (D) 50

Last Answer : (A) 5 

Description : In a relational database model, NULL values can be used for all but which one of the following? (A) To allow duplicate tuples in the table by filling the primary key column(s) with NULL. (B) To ... D) To fill a column in a tuple when that column does not really exist for that particular tuple.

Last Answer : (A) To allow duplicate tuples in the table by filling the primary key column(s) with NULL.

Description : Give the names of five data types used in MS_Access. -Technology

Last Answer : Text, Memo, Date/Time, Yes/No and Currency.

Description : Distinguish between Text and Memo data types. -Technology

Last Answer : Distinguishing between Text and Memo are as follows:TextMemoIt is used for relatively short entries.It is used for long text paragraphs.It can store upto 255 characters only.It can store upto 65536 ... the number of characters.It does not use field size property.e.g. Emp_namee.g. Emp_description

Description : What are the types of data backup? -Technology

Last Answer : There are two types of data backup:1. Full backup2. Differential backup

Description : Explain in detail about Data types in C Language. -Technology

Last Answer : Data types in C LanguageData types specify how we enter data into our programs and what type of data we enter. C language has some predefined set of data types to handle various kinds of data that we ... values. Every variable which is used in the program must be declared as what data-type it is.

Description : Name two data types that require data to be enclosed in quotes. -Technology

Last Answer : char and date data types require data to be enclosed in quotes.

Description : Name two Data types that require data to be enclosed in quotes. -Technology

Last Answer : char and date data types

Description : An IP address is a string of ……….. numbers separated by periods. -Technology

Last Answer : (b) An IP address consists of 4 numbers separated by periods.

Description : A primary key field does not allow numbers. -Technology

Last Answer : False Primary key has to identify a unique value which can be present in a table, in a number form also. It means primary key field allow number too.

Description : …………. is a field which is used as a primary key and numbers each record sequentially. -Technology

Last Answer : AutoNumberis a field which is used as a primary key and numbers each record sequentially.

Description : Can you change the style of numbers in an ordered list? -Technology

Last Answer : Yes, we can change the style of numbers in an ordered list.

Description : Letters, numbers and symbols are the various forms of ………….. -Technology

Last Answer : Letters, numbers and symbols are the various forms of data.

Description : Which of the following tag is used to make a list that lists the items with numbers? -Technology

Last Answer : (c) is the ordered list that starts with a number like 1, A, a, i and I etc.

Description : In an ordered list, each item cannot be preceded with (a) Counting numbers -Technology

Last Answer : (d) In an unordered list, bullets are used while counting numbers, Arabic numbers and Roman numbers are used in an ordered list.

Description : If cell range A1 : A5 contain the numbers 20, 16, 5, 35 and 7 then = AVERAGE(A1 : A5, 50) will display. -Technology

Last Answer : The correct answer is(a) 22.167

Description : A _________ sine wave is not useful in data communications; we need to send a _______signal. A) composite; single-frequency B) single-frequency; composite C) single-frequency;double-frequency D) none of the above

Last Answer : single-frequency; composite

Description : One way to convert from decimal to hexadecimalisthe a. Double dabble method b. Hex dabble method c. Binary dabble method d. __ Allof these

Last Answer : b. Hex dabble method

Description : What is the type of inf? a) Boolean b) Integer c) Float d) Complex

Last Answer : Boolean

Description : Write one example of data for which Memo data type is used. -Technology

Last Answer : To store resume of an employee in Employee table is an example of Memo data type.

Description : Define the AutoNumber data type in MS_ Access. -Technology

Last Answer : AutoNumber data type starts with a number for the first record and it automatically increases the number by a set of amount for each record.

Description : If the data type of a field is set to Text, what will be its number range? -Technology

Last Answer : Its range will be 0 to 255.

Description : When Memo data type is preferred over Text type for a field? -Technology

Last Answer : When the length of the field is more than 255 characters. Text data type is not capable to store the project description because its length cannot be more than 255 characters so, Memo data type is preferred over the Text data type.

Description : When is AutoNumber data type preferred over Number data type? -Technology

Last Answer : When you want to increment the number automatically as you add or delete the records. AutoNumber data type is preferred. Also, if the table does not have a primary key, then AutoNumber uniquely identifies the record.

Description : Write one example of each field, for which you would use 1. Text data type -Technology

Last Answer : 1. Text data type It allows to store text or combination of text and numbers as well as numbers that don't require calculations such as phone number. This data type allows maximum 255 characters ... Description will be of Memo data type, because the length of description of employee may be large.

Description : Distinguish between Number and AutoNumber data type field. Give example of each. -Technology

Last Answer : Distinguishing between Number and AutoNumber dataNumberAutoNumberIt holds numeric values whichare used for calculations.It allows to store numbers thatare automatically generatedfor each record.The field ... for every newcustomer, this field willautomatically increase and willprovide a new number.

Description : Which of the following is not a data type? (a) Picture/Graphic (b) Date/Time -Technology

Last Answer : (a) From the given options Date/Time, Text and Number are the data types.