The target block time is usually hard coded. Block time is a function of the current difficulty and the current network hash rate. In Bitcoin, the target hash rate is ten minutes and the difficulty is regularly adjusted to maintain this block time on average.
Whether or not a particular transaction will be included in a particular block is speculative since it is up to miners to include the transaction, however, it is generally considered that transactions with relatively higher fees are more likely to be included.
It is impossible to answer this question without knowing your blockchain's rules - it could literally be anything. – Pieter Wuille – 2018-04-25T01:35:05.353