Basic Programming Language
Hello frnds!!!
Here, I am introducing basic programming question which is asked by TCS in previous year in PAT(Pre Assessment Test).
So, it will be good that if you solve this.
These are:-
1. What is a variable in a computer program?
A. An output
B. A value such as 5
C. The name given to a value
D. An input argument
2. What is a semantic error ?
A. A program error that is difficult to debug
B. A program error that is not so important to take care
C. A program error that crashes the program
D. A program error that gives wrong output
3. A variable will last until
A. the value of the variable is used in the program
B. The program completes and exit
C. Hard disc is formatted
D. Computer is switched off
4. In a Javascript program, the word preceding the “ . “ represents
A. A program name
B. An object
C. An action by an object
D. A command
5. What do you mean by a portable computer program?
A. The program can be attached to the port of a computer
B. The program is very small
C. It can be run on computers with different types of computers
D. It can be send from one computer to another computer
6. A compiler will
A. Interpret the program line by line
B. Compile the program to create an executable
C. Link different programs written in same language together
D. Correct the errors in the program
7. What do we mean by the performance of a program ?
A. The utilization of resources such as CPU and memory by a program
B. The number of times a program can be run
C. The number of arguments that a program can handle
D. The speed with which a program runs
8. What is debugging ?
A. Fine tuning the program for performance
B. The process of tracking and correcting the bugs in a program
C. Testing the program to identify defects
D. The process of removing the identified bugs
9. Data structure enables
A. Analysis of the data used in a program
B. Connecting a program with database
C. Storing and organizing data in computer memory for efficient use
D. Structuring data in a program
10. What is class in object oriented program ?
A. A collection of objects
B. A template to create objects
C. A variable type in a program
D. Category /Type of a program
A. An output
B. A value such as 5
C. The name given to a value
D. An input argument
2. What is a semantic error ?
A. A program error that is difficult to debug
B. A program error that is not so important to take care
C. A program error that crashes the program
D. A program error that gives wrong output
3. A variable will last until
A. the value of the variable is used in the program
B. The program completes and exit
C. Hard disc is formatted
D. Computer is switched off
4. In a Javascript program, the word preceding the “ . “ represents
A. A program name
B. An object
C. An action by an object
D. A command
5. What do you mean by a portable computer program?
A. The program can be attached to the port of a computer
B. The program is very small
C. It can be run on computers with different types of computers
D. It can be send from one computer to another computer
6. A compiler will
A. Interpret the program line by line
B. Compile the program to create an executable
C. Link different programs written in same language together
D. Correct the errors in the program
7. What do we mean by the performance of a program ?
A. The utilization of resources such as CPU and memory by a program
B. The number of times a program can be run
C. The number of arguments that a program can handle
D. The speed with which a program runs
8. What is debugging ?
A. Fine tuning the program for performance
B. The process of tracking and correcting the bugs in a program
C. Testing the program to identify defects
D. The process of removing the identified bugs
9. Data structure enables
A. Analysis of the data used in a program
B. Connecting a program with database
C. Storing and organizing data in computer memory for efficient use
D. Structuring data in a program
10. What is class in object oriented program ?
A. A collection of objects
B. A template to create objects
C. A variable type in a program
D. Category /Type of a program
Comments
Post a Comment
Do you wanna ask me some thing???