Time left 0:39:45Question 1Not yet answeredMarked out of 1.00Flag questionTipsQuestion textHow many cases a switch statement can have?Select one:256Any number110Clear my choiceQuestion 2Not yet answeredMarked out of 1.00Flag questionTipsQuestion textWhat is the purpose of namespace?Select one:To execute a programTo avoid name collisionsTo group functionsTo create an objectClear my choiceQuestion 3Not yet answeredMarked out of 1.00Flag questionTipsQuestion textWhich of the following is a derived datatype?Select one:floatchardoublearrayClear my choiceQuestion 4Not yet answeredMarked out of 1.00Flag questionTipsQuestion textWhat will be the output of the following C program?#include<stdio.h>int main() { int arr[1]={10}; printf("%d", arr[0]); return 0; }Select one:01106Clear my choiceQuestion 5Not yet answeredMarked out of 1.00Flag questionTipsQuestion textWhat will be the output of the following program?#include<stdio.h> int main() { int i=3; switch(i) { case 1: printf("Hello"); case 2: printf("Hi"); case 3: continue; default: printf("Bye"); } return 0; }Select one:Compilation ErrorNo outputByeHello HiClear my choiceQuestion 6Not yet answeredMarked out of 1.00Flag questionTipsQuestion textWhich of the following is a collection of different data types that are grouped together?Select one:constantsStructurekeywordsarrayClear my choiceQuestion 7Not yet answeredMarked out of 1.00Flag questionTipsQuestion textWhat will be the output of the following C program?#include <stdio.h>int main(){ char star[10]="HelloWorld"; printf("%c\n",star[5]); return 0;}Select one:ErroreWwClear my choiceQuestion 8Not yet answeredMarked out of 1.00Flag questionTipsQuestion textWhich function is used to read data from the console?Select one:coutifscanf()main()Clear my choiceQuestion 9Not yet answeredMarked out of 1.00Flag questionTipsQuestion textLook at the following statement.a=b;Which of the following statements is true?Select one:The later changes on variable b will affect the value of variable a.The value of b is assigned to variable a. The later changes on variable b will not affect the value of variable a.The variable a and the variable b have same memory address.The value of variable a is assigned to variable b.Clear my choiceQuestion 10Not yet answeredMarked out of 1.00Flag questionTipsQuestion textWhat will be the output of the following C program?#include<stdio.h> int main(){ char t; char *p1 = "Spoken", *p2; p2=p1; p1 = "Tutorial"; printf("%s %s", p1, p2); return 0;}Select one:Tutorial SpokenTutorial TutorialSpoken TutorialSpoken SpokenClear my choiceQuestion 11Not yet answeredMarked out of 1.00Flag questionTipsQuestion textWhat will be the output of the following C program?#include<stdio.h>int main(){char str[25] = "India";printf("%c", str[1]);return 0;}Select one:ErrorRandom valueNo outputnClear my choiceQuestion 12Not yet answeredMarked out of 1.00Flag questionTipsQuestion textWhat will be output on execution of the following C code? #include<stdio.h>int main(){ int a=11; printf("%d",a); return 0;}Select one:11Compilation error0-22
Question
Time left 0:39:45Question 1Not yet answeredMarked out of 1.00Flag questionTipsQuestion textHow many cases a switch statement can have?Select one:256Any number110Clear my choiceQuestion 2Not yet answeredMarked out of 1.00Flag questionTipsQuestion textWhat is the purpose of namespace?Select one:To execute a programTo avoid name collisionsTo group functionsTo create an objectClear my choiceQuestion 3Not yet answeredMarked out of 1.00Flag questionTipsQuestion textWhich of the following is a derived datatype?Select one:floatchardoublearrayClear my choiceQuestion 4Not yet answeredMarked out of 1.00Flag questionTipsQuestion textWhat will be the output of the following C program?#include<stdio.h>int main() { int arr[1]={10}; printf("%d", arr[0]); return 0; }Select one:01106Clear my choiceQuestion 5Not yet answeredMarked out of 1.00Flag questionTipsQuestion textWhat will be the output of the following program?#include<stdio.h> int main() { int i=3; switch(i) { case 1: printf("Hello"); case 2: printf("Hi"); case 3: continue; default: printf("Bye"); } return 0; }Select one:Compilation ErrorNo outputByeHello HiClear my choiceQuestion 6Not yet answeredMarked out of 1.00Flag questionTipsQuestion textWhich of the following is a collection of different data types that are grouped together?Select one:constantsStructurekeywordsarrayClear my choiceQuestion 7Not yet answeredMarked out of 1.00Flag questionTipsQuestion textWhat will be the output of the following C program?#include <stdio.h>int main(){ char star[10]="HelloWorld"; printf("%c\n",star[5]); return 0;}Select one:ErroreWwClear my choiceQuestion 8Not yet answeredMarked out of 1.00Flag questionTipsQuestion textWhich function is used to read data from the console?Select one:coutifscanf()main()Clear my choiceQuestion 9Not yet answeredMarked out of 1.00Flag questionTipsQuestion textLook at the following statement.a=b;Which of the following statements is true?Select one:The later changes on variable b will affect the value of variable a.The value of b is assigned to variable a. The later changes on variable b will not affect the value of variable a.The variable a and the variable b have same memory address.The value of variable a is assigned to variable b.Clear my choiceQuestion 10Not yet answeredMarked out of 1.00Flag questionTipsQuestion textWhat will be the output of the following C program?#include<stdio.h> int main(){ char t; char *p1 = "Spoken", *p2; p2=p1; p1 = "Tutorial"; printf("%s %s", p1, p2); return 0;}Select one:Tutorial SpokenTutorial TutorialSpoken TutorialSpoken SpokenClear my choiceQuestion 11Not yet answeredMarked out of 1.00Flag questionTipsQuestion textWhat will be the output of the following C program?#include<stdio.h>int main(){char str[25] = "India";printf("%c", str[1]);return 0;}Select one:ErrorRandom valueNo outputnClear my choiceQuestion 12Not yet answeredMarked out of 1.00Flag questionTipsQuestion textWhat will be output on execution of the following C code? #include<stdio.h>int main(){ int a=11; printf("%d",a); return 0;}Select one:11Compilation error0-22
Solution
I'm sorry, but you didn't provide a text for me to respond to. Could you please provide the text?
Similar Questions
Time left 0:15:27Question 11Answer savedMarked out of 1.00Flag questionQuestion textIf A=1’b1,B=2’b01,C=2’b00 y={4{A},2{B},C} equalsa.Noneb.10’b1111010100c. 8’b11110100d.9’b111101010Clear my choiceQuestion 12Not yet answeredMarked out of 1.00Flag questionQuestion textIn the given code snippet, statement 2 will executed at a.25b.15c.0d.30Clear my choiceQuestion 13Not yet answeredMarked out of 1.00Flag questionQuestion textIf A= 4b`001x and B= 4b`1011, then result of A+B will bea.110x b.1111c.xxxxd.1100Clear my choiceQuestion 14Not yet answeredMarked out of 1.00Flag questionQuestion textIn Verilog `d1234 is aa.32 bit decimal number b.It is invalid notationc.4 bit decimal number d.16 bit decimal number
Time left 0:19:23Question 1Not yet answeredMarked out of 1.00Flag questionTipsQuestion textWhich of the following options is not correct?Select one:a.alter table emp drop column column_name;b.alter table emp modify name varchar(30);c.alter table emp add column_name varchar(25);d.alter table emp drop column_name;Clear my choiceQuestion 2Not yet answeredMarked out of 1.00Flag questionTipsQuestion textHow would you add a foreign key constraint on the dept_no column in the EMP table, referring to the id column in the DEPT table?Select one:a.Use the ALTER TABLE command with the MODIFY clause on the EMP table.b.Use the ALTER TABLE command with the MODIFY clause on the DEPT table.c.Use the ALTER TABLE command with the ADD clause on the EMP table.d.This task cannot be accomplished.e.Use the ALTER TABLE command with the MODIFY clause on the EMP table.
What is the purpose of namespace?Select one:To execute a programTo avoid name collisionsTo group functionsTo create an object
he correct answerIn C, what is the purpose of the switch statement?
Time left 0:19:51Question 1Not yet answeredMarked out of 1.00Flag questionTipsQuestion textString name="teknoturf";String cname="teknoturf";String compname=new String("teknoturf");1.if(name==cname)2.if(name.equals(cname))3.if(name==compname)4.if(name.equals(compname))Identify the output.Select one:a.Line 1,3,4 will return true.b.Line 1,3 will return true.c.Line 1,2,4 will return true.d.Line 3,4 will return true.
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.