- OS Concepts
- Process vs Threads
- Serial vs Parallel Execution
- Singlge vs Multithreading Process
- Parallel Computing
- Computational Problem
- Applications
- Why?
- Limitations Of Serial Computing
- Amdahl's Law
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* ------------------------- Question 1 ------------------------- */ | |
| > use HOTEL | |
| switched to db HOTEL | |
| > dbs | |
| 2020-12-12T11:42:52.660+0500 E QUERY [thread1] ReferenceError: dbs is not defined : | |
| @(shell):1:1 | |
| > show dbs | |
| admin 0.000GB | |
| config 0.000GB | |
| local 0.000GB |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <mpi.h> | |
| #include <stdio.h> | |
| int main(int argc, char** argv) { | |
| // Initialize the MPI environment | |
| MPI_Init(NULL, NULL); | |
| // Get the number of processes | |
| int world_size; | |
| MPI_Comm_size(MPI_COMM_WORLD, &world_size); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <mpich/mpi.h> | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <unistd.h> | |
| // size of array | |
| #define n 10 | |
| int a[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Setting: | |
| Company going through COVID 19, less sales, less resouces, less expandability options. | |
| The company deals with Transportation And Warehousing. | |
| Company has these departments, with 7 people overall, including the RM, FP, HRP, | |
| - Management, 1 | |
| - Human Resources, 2 | |
| - Financial Department, 2 | |
| - Technical / IT, 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CREATE TABLE `User + User Registration Info` ( | |
| `User_Id` NUMBER, | |
| `Joined Website` DATETIME, | |
| `Handler` VARCHAR(40), | |
| `first_name` VARCHAR(20), | |
| `middle_name` VARCHAR(20), | |
| `last_name` VARCHAR(20), | |
| `Email` VARCHAR(30), | |
| `Password` VARCHAR(30), | |
| PRIMARY KEY (`User Id`) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Size of arrays, given as 100. | |
| [ARRAY_A] Time taken to get the array, 5e-06 | |
| [ARRAY_B] Time taken to get the array, 2e-06 | |
| [ARRAY_C] Time taken to get the array, 2e-06 | |
| Overall time taken to generate arrays, 9e-06. | |
| ------------- | |
| USING SERIAL: | |
| Overall time taken, using insertion sort - serial, 2e-06. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| There was an error in your GraphQL query: | |
| Cannot query field "codeinjection_head" on type "GhostSettings". | |
| If you don't expect "codeinjection_head" to exist on the type "GhostSettings" it is most likely a typo. | |
| However, if you expect "codeinjection_head" to exist there are a couple of solutions to common problems: | |
| - If you added a new data source and/or changed something inside gatsby-node.js/gatsby-config.js, please try a restart of your development server | |
| - The field might be accessible in another subfield, please try your query in GraphiQL and use the GraphiQL explorer to see which fields you can query and what shape they have | |
| - You want to optionally use your field "codeinjection_head" and right now it is not used anywhere. Therefore Gatsby can't infer the type and add it to the GraphQL schema. A quick fix is to add a least one entry with that field ("dummy content") |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.