Home / MCQ Bank / Computer Science Engineering
Computer Science Engineering Visual Basic Difficulty: Medium

In the following Visual Basic code, what will be in msg, if str contains "ik"? Dim str as String Dim msg as String If str.toUpper="IK" msg="Hi" Else msg="Bye" EndIf

Select the correct option to test your answer:

More Computer Science Engineering Questions

The cat command is used to Which addressing mode allows direct access to memory locations without calculating the address? What is the output of this program? #include<stdio.h> #include<fcntl.h> #include<sys/stat.h> #include<sys/mman.h> int main() { int s_id; int *ptr; s_id = shm_open("shared_mem",O_CREAT|O_RDWR,0666); if(s_id == -1) perror("shm_open"); ptr = mmap(NULL,100,PROT_WRITE,MAP_PRIVATE,s_id,0); if(ptr == MAP_FAILED); perror("mmap"); if(munmap(ptr,100) == -1) perror("munmap"); if(shm_unlink("shared_mem") == -1) perror("shm_unlink"); return 0; } Which of the following is not Machine Learning? In SQL, which of the following is not a data Manipulation Language Commands?