C Programming Test (Random Questions) - Computer Science & Engineering
| Marks : | ||
| Total number of questions | : | |
| Number of answered questions | : | |
| Number of unanswered questions | : | |
Instruction:
| 1. | The Octal number to be given alogn with chmod command to make a file readable, writable and executable to the owner, readable and executable to group and others is: |
||||||||||||||
Your Answer: Option Correct Answer: Option B Explanation: No answer description available for this question. Let us discuss. Learn more problems on : C Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
| 2. | Which is a reserved word in the Java programming language? |
||||||||||||||
Your Answer: Option Correct Answer: Option B Explanation: The word "native" is a valid keyword, used to modify a method declaration. Option A, D and E are not keywords. Option C is wrong because the keyword for subclassing in Java is extends, not 'subclasses'. Learn more problems on : C Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
| 3. | Changing cardinalities in a database is: |
|||||||||||
Your Answer: Option Correct Answer: Option A Explanation: No answer description available for this question. Let us discuss. Learn more problems on : C Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
| 4. | The rise time of a pulse waveform is the time required for the voltage to rise: |
||||||||||||||
Your Answer: Option Correct Answer: Option D Explanation: No answer description available for this question. Let us discuss. Learn more problems on : C Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
| 5. | A shared lock allows which of the following types of transactions to occur? |
|||||||||||
Your Answer: Option Correct Answer: Option C Explanation: No answer description available for this question. Let us discuss. Learn more problems on : C Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
| 6. | Which is NOT one of the most common types of SQL CHECK constraints? |
|||||||||||
Your Answer: Option Correct Answer: Option A Explanation: No answer description available for this question. Let us discuss.
Learn more problems on : C Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
| 7. | Which of the following will be the correct output for the C#.NET code snippet given below? String s1 = "Five Star"; |
||||||||||||||
Your Answer: Option Correct Answer: Option D Explanation: No answer description available for this question. Let us discuss.
Learn more problems on : C Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
| 8. | The cp command uses: |
||||||||||||||
Your Answer: Option Correct Answer: Option D Explanation: No answer description available for this question. Let us discuss. Learn more problems on : C Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
| 9. | What is correct about the static data member of a class? |
|||||||||||
Your Answer: Option Correct Answer: Option D Explanation: No answer description available for this question. Let us discuss.
Learn more problems on : C Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
| 10. | A network administrator is connecting hosts A and B directly through their Ethernet interfaces, as shown in the illustration. Ping attempts between the hosts are unsuccessful. What can be done to provide connectivity between the hosts?
|
||||||||||||||
Your Answer: Option Correct Answer: Option D Explanation: First, if you have two hosts directly connected, as shown in the graphic, then you need a crossover cable. A straight-through cable won't work. Second, the hosts have different masks, which puts them in different subnets. The easy solution is just to set both masks to 255.255.255.0 (/24). Learn more problems on : C Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
| 11. | SQL data definition commands make up a(n) ________ . |
|||||||||||
Your Answer: Option Correct Answer: Option A Explanation: No answer description available for this question. Let us discuss. Learn more problems on : C Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
| 12. | Prior to the invention of time sharing, the prevalent method of computer access was: |
||||||||||||||
Your Answer: Option Correct Answer: Option A Explanation: No answer description available for this question. Let us discuss. Learn more problems on : C Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
| 13. | Which of the following products was the first to implement true relational algebra in a PC DBMS? |
|||||||||||
Your Answer: Option Correct Answer: Option D Explanation: No answer description available for this question. Let us discuss.
Learn more problems on : C Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
| 14. | In which addressing mode the contents of a register specified in the instruction are first decremented, and then these contents are used as the effective address of the operands? |
||||||||||||||
Your Answer: Option Correct Answer: Option D Explanation: No answer description available for this question. Let us discuss. Learn more problems on : C Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
| 15. | Which of the following statements is correct about the C#.NET code snippet given below? class Sample |
||||||||||||||
Your Answer: Option Correct Answer: Option E Explanation: No answer description available for this question. Let us discuss.
Learn more problems on : C Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
| 16. | With which of the following can the ref keyword be used? 1 Static data 2 Instance data 3 Static function/subroutine 4 Instance function/subroutine
|
||||||||||||||
Your Answer: Option Correct Answer: Option B Explanation: No answer description available for this question. Let us discuss.
Learn more problems on : C Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
| 17. | Some of the columns of a relation are at different sites is which of the following? |
|||||||||||
Your Answer: Option Correct Answer: Option C Explanation: No answer description available for this question. Let us discuss. Learn more problems on : C Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
| 18. | What will be the output of the program? #include<stdio.h> int main() |
|||||||||||
Your Answer: Option Correct Answer: Option D Explanation: This program will show an error "Cannot modify a const object". Step 1: const int i=0; The constant variable 'i' is declared as an integer and initialized with value of '0'(zero). Step 2: printf("%d\n", i++); Here the variable 'i' is increemented by 1(one). This will create an error "Cannot modify a const object". Because, we cannot modify a const variable. Learn more problems on : C Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
| 19. | What is the best data type definition for Oracle when a field is alphanumeric and has a length that can vary? |
|||||||||||
Your Answer: Option Correct Answer: Option A Explanation: No answer description available for this question. Let us discuss. Learn more problems on : C Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
| 20. | In enterprise data modeling, which is incorrect? |
|||||||||||
Your Answer: Option Correct Answer: Option B Explanation: No answer description available for this question. Let us discuss. Learn more problems on : C Programming Test (Random Questions) Discuss about this problem : Discuss in Forum |
C Programming Test (Random Questions) - Computer Science & Engineering
