Science, asked by sanjanab810, 2 months ago

1. Algorithm is made of the ___________.

a) Sequence to print data b) Selection c) Repetition d) All of these


2 . _______translates and executes the program line by line.

a) Compiler b) Interpreter c) Loader d)Linker


3. Which of the following are tokens in C?

a) Keywords b) Variables c) Constants d) All of the above


4. Which function is used to read character as you type ?.

a) getchar() b) getch() c) getche() d) both b and c


5. Which header file is essential for using strcmp() function?

a) String.h b) Strings.h c) Text.h d) Strcmp.h


6. What will be the size of above array element? Int a[20];

a)22 b)19 c)20 d) 21


7. The recursive functions are executed in a ____________.

a) Parallel order b) First In First Out order c) Last In First Out order

d) Iterative order


8. Call by reference is also known as ______________.

a) Call by address or Call by location b) Call by address or Call by value

c) Call by value or Call by name d) None of above


9. In C a pointer variable to an integer can be created by the declaration__________.

a) int p*; b) int *p; c) int +p; d) int $p;


10. A Pointer is___________.

a) A keyword used to create Variables b) A variable that stores the address of the instruction

c) A variable that stores the address of another variable d) All the above​

Answers

Answered by Anonymous
3

Answer:

1. All of these

2. Compiler

Hope this helps...

Answered by probrainsme102
0

Answer:

  1. d) All of these
  2. b) Interpreter
  3. a) Keywords c) Constants
  4. a) getchar()
  5. a) String.h
  6. b)19
  7. c) Last In First Out order
  8. b) Call by address or Call by value
  9. b) int *p;
  10. c) A variable that stores the address of another variable

Explanation:

  1. To analyze a mathematical problem or data step by step in such a way that it becomes accessible to the computer and the computer can present the appropriate solution to the mathematical problem by taking the available data in the program; is called an algorithm.
  2. An interpreter is a translator program used to convert a program written in a high-level language into machine language.
  3. When we write a program in C language, then every line of the program has some statement and every statement has some words and every word has some meaning, in simple words, we divide the program into many small units. Writes, the smallest of these units are called Tokens.
  4. This function reads only one character received from the keyboard. This function does not require any kind of argument and its parentheses are kept empty.
  5. This function accepts both the strings to be compared among themselves as arguments. And returns 0 if both the strings are equal, whereas if both the strings are not the same, then this function returns -1 or 1.
  6. Simply put, in this, multiple items of the same type are stored together so that they can be easily sorted and searched. Array is a fixed data structure in which once the size of the array is defined, its size cannot be modified.
  7. In C language, Recursion is a process in which a function calls itself repeatedly. This function is called recursive fu
  8. While calling the function, when we pass the address of the variable then such functions are called call by reference. In this, if we change the copy of the variable, then the original value of the variable does not change. In this we cannot change the value of the actual variable through function call.
  9. Integer type is used to store any whole number (number without decimal). Integer types are of 5 types. Although they all store whole numbers.
  10. Pointer is a special derived data type that holds the address of another variable. It is of different types (like int, char, float, function etc). Its size depends on the architecture of the computer like for 32 bit architecture it takes 2 bytes.

#SPJ2

Similar questions