View note:GE2115-Computer-practice-Laboratory-Part-2



Questions of this subject!.

QuestionLikes!Dislikes!Answers!
1)What are the main features of Mariadb?

101
2)What is the ability to group some lines of code that can be included in the program?

002
3)What is the main concern when using a pull-down resistor?

001
4)What is a program counter?

001
5)C onsider the following C program: #include void fun1(char *s1, char *s2){ char *tmp; tmp = s1; s1 = s2; s2 = tmp; } void fun2(char **s1, char **s2){ char *tmp; tmp = *s1; *s1 = *s2; *s2 = tmp; } int main(){ char *str1 = "Hi", *str2 = "Bye"; fun1(str1, str2); printf("%s %s ", str1, str2); fun2(&str1, &str2); printf("%s %s", str1, str2); return 0; } The output of the program above is

001
6)C onsider the following C program: #include int counter = 0; int calc (int a, int b) { int c; counter++; if (b==3) return (a*a*a); else { c = calc(a, b/3); return (c*c*c); } } int main (){ calc(4, 81); printf ("%d", counter); } The output of this program is _____.

001
7)Find the sum of all natural numbers between 100 and 175.

001
8)when does a program shows a segmentation fault?

101
9)Consider the following C program. #include struct Ournode{ char x,y,z; }; int main(){ struct Ournode p = {1, 0, a+2}; struct Ournode *q = &p; printf ("%c, %c", *((char*)q+1), *((char*)q+2)); return 0; }

001
10)n3 – 7n + 3 is divisible by k for all natural numbers n. Then k is ………

101
11)How many times the program will print "IndiaBIX" ? #include int main() { printf("IndiaBIX"); main(); return 0; }

201
12) What will be the output of the program in 16 bit platform (Turbo C under DOS)? #include int main() { int fun(); int i; i = fun(); printf("%d ", i); return 0; } int fun() { _AX = 1990; }

200
13)What will be the output of the program? #include void fun(int*, int*); int main() { int i=5, j=2; fun(&i, &j); printf("%d, %d", i, j); return 0; } void fun(int *i, int *j) { *i = *i**i; *j = *j**j; }

201
14)- Write a PHP program to select data and show into table format.

001
15)Write a PHP program to drop table using MySQL.?

001
16)What is bug bounty program?

001
17)Which keyword is used to print the text in the screen?

102
18)What is it like to run a bug bounty program?

001
19)What is the best bug bounty program?

001
20)Does bug bounty program affect any of your customer SLAs?

001
21)Write a program to update table in php?

001
22)What is the Difference between Global variable and local variable in c?

001
23)Factorial of number program in c ?

001
24)What is azure bounty program?

001
25)How do you use amazon bounty program?

001
26)How does bounty program work?

001
27)What is the main difference between asp net and PHP?

001
28)Even Odd Program in PHP

001
29)Write a PHP program to print table of a number.

001
30)Write a PHP program to print fibonacci series without using recursion and using recursion.

001
31)Write a PHP program to add two numbers.

001
32)Write a PHP program to print alphabet triangle.

002
33) How can you bring a new feature in the main branch?

001
34)Differentiate between require and include? -php

001
35)A source program is the program written in ____ language.

001
36)Three types of compact disks include CD-ROM, CD-R and

001
37)Which of the following is the correct way to print "Hello World" in PHP?

001
38)Write a program to print two variables in single echo?-php

001
39)PHP program to use pi value as global variable in your program to print the area of circle?-php

001
40)PHP program to use local variable and take input from user and print the nearest power of 3?php

001
41) Write a division table program in PHP using for loop?php

001
42)Write a program to print numbers from 10 to 1 using recursion function?php

001
43)Write a program to set session on successful login?php

001
44)What is a Vulnerability Disclosure Program?

001
45)When should I use require vs. include?

001
46)List the different types of Print functions available in PHP?

001
47)Explain the situations when we use echo and when to use print keywords in php?

001
48)What are the main differences between Git and SVN?

002
49)What is a bug bounty program?

001
50)What numeric value is considered as infinite in PHP?

001
51)In PHP, do it possible to convert a Numeric value into Another datatype?

001
52)Can you clearly articulate what hackers can expect from the bug bounty program?

001
53)Which bug bounty program is best?

002
54)Does Amazon have a bug bounty program?

001