#include<stdio.h>
#include<string.h>
main(){
char str1[] = "FIRST";
char str2[20];
strcpy(str2,str1);
printf("%s %s ",str1,str2);
printf(" %d ", (str1!=str2));
printf(" %d ", strcmp(str1,str2));
}
A) FIRST FIRST 0 0
B) FIRST FIRST 1 1
C) FIRST FIRST 1 0
D) FIRST FIRST 0 1
Q7. Where is a class derived in inheritance?
A) Superclass
B) Subclass
C) Subsetclass
D) Relativeclass
Q8. Which of these is the correct order of the SDLC?
A) Analysis, Design, Coding, Testing, Implementation
B) Analysis, Design, Testing, Implementation, Coding
C) Implementation, Coding, Analysis, Design, Testing
D) Design, Testing, Implementation, Coding, Analysis
Q9. Why is cloud computing popular nowadays?
A) Cost-sharing and easily accessible
B) As modern technology and costly
C) Accessible and freely available
D) Affordable to all
Group B: Short Answer Questions (5 x 5=25)
1. Explain 2NF and 3NF with examples.
OR
Demonstrate the basic DML statement with an example.
2. Write a function to add any two numbers in Javascript.
OR
Demonstrate the external CSS implemented in the web page.
3. Describe any five features of OOPs.
4. What are the different stages of software planning? Describe.
5. Define the concept of AI and IoT. (2+3)
Group C: Long Answer Questions (2 x 8=16)
6. How do you implement the Class C IP address in the local area network? Describe.
7. Write a program to enter ten integer numbers into an array, sort and display them in ascending order.
OR
Write a program to read the marks of any 5 students in a subject and count how many students are pass and fail.