[kind of funny] "How many lines of code was your last project?"
C Software Developer Interview Questions
3,502 c software developer interview questions shared by candidates
the question were mostly on memory management and types of CS vulnerabilities, Tools used, explanation of tool like burpsuite etc
. Creating Blockchain validation function (isValid) The following is a brief introduction to a blockchain protocol (simplified for the sake of this assignment): Blockchain is a kind of distributed database where what's so special about it is that once information is written, the information is never deleted. How it is done? Every time a block is created with some blockchain records and sent to all network participants, each participant knows that once he has received a valid block, he should keep it forever. When you want to add new information to the blockchain, a new block is opened with each block pointing to the block created. • Each block can contain between 0 and 10 TX's (both 0 and 10 are correct!) In this exercise we are not talking about a general blockchain containing generic information like medical information. But on a virtual currency blockchain, so each TX is built like this: From: - The address where the money comes from To: - The address where the money comes from Amount: - The amount of money that goes into the transaction 33 contact@gk8.io | www.gk8.io | 6 Kreminitsky St., Tel Aviv, Israel Fee: - The fee the transaction creator pays to the miner for inserting the transaction into the blockchain, the main * selects which transaction to put into the blockchain according to the commission Time: - The point in time when the transaction was created, the purpose of this field is to avoid a replay attack Signature - Signature of the transaction sender so they knew he intended to send the money * Miners are servers whose job in life is to add blocks to blockchain, all miners try to add blocks at any given moment, and once in a while they succeed. In order to incentivize miners to try to blockchain and thus make the network work, they receive on every new block they create, a thousand coins (marked with code at (MONEY_CREATED_FOR_THE_MINER_EACH_BLOCK In addition, for every transaction sent by the miner, the transaction is generated by the Fee Important note, for each transaction, the sender pays the amount + fee the recipient receives only amount and the blocker of the block in which the transaction enters receives a fee. Points and notes for code: 1. No testing is required along with the code 2. No Effectiveness - As long as the code works 3. Do not check the signature integrity, assume it is valid 4. It is assumed that m_firstBlock contains a pointer to the first block of a valid blocker containing at least one block 5. The most important thing, is to pay attention to all the end cases, to think that everyone who sends you the input for functions is evil and try to hack the system. Attached, please find code that realizes the start of this blockchain. Your task is to create an isValid function that checks if the given transaction is valid and can be added to the blockchain. also was given a skeleton to work on(the answer without the implementation of is valid):
What is your responsibility of your current job?
Questions about algorithms, Python and C++.
C++ questions related to OOPS, STL , Multithreading
what is encapsulation?
10 intrebari de logica la care ai 20 de minute sa dai un raspuns
One of the questions were if i knew the library needed to use the IEnumerable and another one was about the yield return.
What is virtual table in cpp
Viewing 2471 - 2480 interview questions