VB.NET provides which of the below data types? A. Boolean B. Char C. Decimal D. String E. All of the above
E. All of the above
VB.NET provides following data types
|
Data Type |
|
Boolean |
|
Byte |
|
Char |
|
Date |
|
Decimal |
|
Double |
|
Integer |
|
Long |
|
Object |
|
SByte |
|
Short |
|
Single |
|
String |
|
UInteger |
|
ULong |
|
User-Defined |
|
UShort |
if you have any doubt then please ask me without any hesitation
in the comment section below , if you like my answer then please
thumbs up for the answer , before giving thumbs down please discuss
the question it may possible that we may understand the question
different way and we can edit and change the answers if you argue,
thanks :)
VB.NET provides which of the below data types? A. Boolean B. Char C. Decimal D. String...
7. Given two strings char s1[??] = “first string” and s2[??] = “second string”. 7.1. How much storage should be declared for each of the strings? 8. What would the function strlen(“today is Wednesday”); return? 9. Given a byte in 2’s complement What is 0x56 in decimal? a) -13 b) −110 c) 38 d) 67 e) none of the above 10. Given a six bit integer in 2’s complement What is 100100 in decimal? a) -28 b) −24 c) -36...
Which of the following are variables of reference types? Note: 7K and are very common characters used in Chinese and Japanese languages. Select all of the answers that apply, and none of those that do not. Select one or more: char c = '*'; boolean b = true; double [] d w String s = ">\"; int a []
Which of the following types can be safely compared using the == operator? A- string b- float c- double d- Char 2- What will be stored in variable i after the following statement is executed? int i = (int) Math.sqrt(5);
using c++
Write a C++ program which reads three values of types char, int, double and string from the keyboard and primis, appropriately formatted, assigned values and variable types. For example, if letter, number, and real are variables of type char, int and double respectively, and if the values assigned to them using cin function are: a, 1, and 3.1415, then the output should be: a is a character 1 is an integen 3.1415 is a real number
5. Which one of the following statements declares a c-string variable? a.char c; b. string s; c. char c[10]; d.string s[10]; 6. ________________ function returns the uppercase version of expression. a. tolower(expression); b. upper(expression) c. toupper(expression); d. isupper(expression); 7. Which of the following creates a string object with data ‘csci-1410’? a. string str; b. string ‘csci-1410’; c. string s("csci-1410"); d. string s(csci-1410);
In the code fragment below, what are the legal data types for the variable "answer"? (Multiple answers : Choose all that apply ) byte b = 1; char c = 2; short s = 3; int i = 4 ; float f = 5f; answer = b * c * s * i * f; a. byte b. char c. short d. int e. float f. double g. long
programming language is JAVA: We wish to implement a method String insert(char c, String s) that returns a string with c inserted in the correct position in already sorted String s. To do so we will implement insert as follows: static String insert(char c, String s) { return insertHelper(c, "", s); } static String insertHelper(char c, String left, String right) {} // strip leading characters from right, & append to left 'till insertion point found. Now return left + c + right. For...
1. What datatype is best used for the Counter for a "for loop"? a. string b. boolean c. char d. int 2. What begins and ends the coding area for a class? a. {} b. [] c. () d. <> 3. Which of the following is true about links by default? a. An unvisited link is underlined and blue. b. A visited link is underlined and red. c. All the above. d. An active link is underlined and purple. 4....
#include <iostream>
#include <string>
using namespace std;
void get_user_string(string *);
string convert_to_dash(String* );
int_search_and_replace(char, string, string
&);
int main (){
string s;
cout << "Enter a string:" << endl;
get_user_string(&s);
string dash_version =
convert_to_dash(&s)
if ( dash_version != 32){
&s.push_back('-');
}
Here is an example operation of the completed program: Please enter a string: the weather is great! The dash-version of your string is: Please tell me the char that...
Visual Basic 1.Order the integer data types by their relative size and the decimal-type data types by their relative size. Give an example that can be encapsulated by that level, but not ones lower than it. 2. How do the following structures differ in execution? Give an example of a task that might benefit from each structure. a. IF THEN b. IF THEN ELSE c. IF THEN ELSEIF THEN d. IF THEN ELSEIF THEN ELSE e. SELECT CASE 3.Write a function that will determine that...