Which OS feature helps run AI or automation tasks efficiently?
Which signal is used to terminate a process?
In a preemptive RTOS, when a higher-priority task becomes ready, the kernel:
Consider the program main
main ()
{
double a[2][3];
printf("%d ", sizeof(a));
printf("%d ", sizeof(a[1]));
printf("%d ", sizeof(a[1][1]));
}
The output for this program:
Flash memory in a microcontroller is used to store
Which of the following describes a template with a variable number of arguments?
Which hardware support improves AI and automation performance on Linux?
1The function of the Watchdog Timer is to
Which scheduling algorithm is commonly used in RTOS?
What is a move constructor in C++?
Which of the following is not a microcontroller?
Which statement about smart pointers is correct?
Priority inversion occurs when:
What is a correct statement about std::async?
In robotics, which sensor is commonly used for obstacle detection?
What is the output of this code?
c
if(printf("cquestionbank"))
printf("I know c");
else
printf("I know c++");
What is the main controller unit in most mobile robots?
Which of the following statements about pointers is correct?
What will printf("%c", 100); print?
What does the explicit keyword in a constructor declaration in C++ do?
Which command is used to create a simple automation script in Linux?
What does the following code output?
cpp
#include
#include
int main() {
std::string str("AdvancedCpp");
str.back() = '!';
std::cout << str << std::endl;
return 0;
}
In C++, what does the mutable keyword indicate?
What does the `grep` command do?
What does the sizeof(char) operator return in a 32-bit compiler?
What is the use of std::move in C++?
Which command is used to execute a shell script?
Which mechanism allows capturing variables from the enclosing scope in a lambda expression?
What is the output of the following code?
c
int main() {
int a = 42;
int *p = &a;
printf("%d", *p++);
return 0;
}
How many null branches does a binary tree with 27 nodes have?
What would be the output of the following code?
c
#define call(x) #x
void main() {
printf("%s", call(c/c++));
}
In C, the FILE data type is defined as
Which RTOS feature helps AI run predictably?
Which of the following best defines a functor in C++?
Which function is used to modify the previously allocated space in memory?
What is the output of the following code?
c
#include
int main() {
int x = 5;
int y = (x++) + (++x);
printf("%d", y);
return 0;
}
In a robot, which motor type provides precise angular position control?
The time taken by a system to respond to an interrupt is called