logo

Crowdly

Browser

Add to Chrome

Questions Bank (1372343 total)

What will be the output of the following code?

#include <iostream>

using namespace std;

int main() {

    int x = 3, y = 5, z = 7;

    cout << x++ * ++y + --z * x-- / ++y;

    return 0;

}

0%
100%
0%
0%
View this question
What is the actual usable capacity of an SSD as 1 TB in an operating system?
13%
0%
0%
88%
View this question
Which data structure uses the LIFO (Last In, First Out) principle?
9%
0%
91%
0%
View this question
Which of the following functions is used to dynamically allocate memory in C?
0%
0%
100%
0%
View this question
How many megabits (Mb) are there in 5 megabytes (MB)?
0%
0%
100%
0%
View this question
What will be the output of the following code?

#include <iostream>

using namespace std;

int func(int n) {

    if (n == 0)

        return 1;

    return n * func(n - 1);

}

int main() {

    cout << func(4);

    return 0;

}

0%
0%
0%
100%
View this question
What will be the output of the following code?

#include <stdio.h>

float MyFunction(int number) {

    int result = 1;

    for (int a = 0; a++ < number; a += 8) {

        result = result * (a < 5 ? 3 : 2.5);

    }

    return result;

}

int main() {

    int number=33;

    float result = MyFunction(number);

    printf("The result is: %.2f\n", result);

    return 0;

}

0%
0%
50%
50%
View this question

The following

information relates to a company’s aggregate production planning activities:

Quarter

Demand

Forecast

1

37,500

2

45,000

3

25,000

4

62,500

Beginning Workforce

= 125 workers

Production per

Employee = 500 units per quarter

Hiring Cost =

$750 per worker

Firing Cost =

$1,500 per worker

Inventory

Carrying Cost = $10 per unit per quarter

View this question
Перетинанням нечітких множин і в називається нечітка множина з функцією приналежності вигляду
0%
0%
100%
0%
View this question

Hol alkalmazunk csapszegeket?

0%
100%
0%
View this question